NPC Question
#6

You need toshow the code for the NPC Btw if you want the player to login before they can actually spawn, do something like this:
At top of script:
Код:
IsLoggedIn[MAX_PLAYERS];
Then under your login code:

Код:
IsLoggedIn[playerid]=1;
Then Under OnPlayerRequestSpawn

Код:
If(IsLoggedIn[playerd]==0)
{
 SendClientMessage(playerid,0xffffffaa,"YOu need to Log In before you can spawn.");
 return 0;
}
Reply


Messages In This Thread
NPC Question - by gtapolicemods - 06.06.2010, 03:47
Re: NPC Question - by Backwardsman97 - 06.06.2010, 04:53
Re: NPC Question - by Antonio [G-RP] - 06.06.2010, 04:54
Re: NPC Question - by gtapolicemods - 06.06.2010, 06:30
Re: NPC Question - by gtapolicemods - 06.06.2010, 07:37
Re: NPC Question - by DJDhan - 06.06.2010, 08:02
Re: NPC Question - by gtapolicemods - 06.06.2010, 08:17
Re: NPC Question - by DJDhan - 06.06.2010, 08:31

Forum Jump:


Users browsing this thread: 1 Guest(s)