Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Source: http://adf.ly/s3cSV
- bool WelcomeDisplayed[18];
- void onPlayerSpawned()
- {
- for(;;)
- {
- for(int i = 0; i < 18; i++)
- {
- if(*(int*)(G_Client(i) + 0x3980) == 0x00)
- {
- if(!WelcomeDisplayed[i])
- {
- sleep(250);
- /*
- Things you want on spawn here
- */
- WelcomeDisplayed[i] = true;
- }
- }
- else
- WelcomeDisplayed[i] = false;
- }
- }
- }
- int G_Client(int client)
- {
- return (0x0110A280 + (0x3980* client));
- }
Add Comment
Please, Sign In to add comment