HELP! Trying to add reserved car
#1

I need help guys Im trying to add a new name in OnPlayerConnect so it will detect the player's name that he has a reserved car.. so here's the script


public OnPlayerConnect(playerid)
{
new tname[MAX_PLAYER_NAME];
GetPlayerName(playerid, tname, sizeof(tname));
if(!strcmp(tname, "[USD]Ad10z[Du]", true))
{
isReserved[playerid] = 1;
}
else isReserved[playerid] = 0;
}
Reply


Messages In This Thread
HELP! Trying to add reserved car - by adios1 - 10.12.2011, 03:27
Re: HELP! Trying to add reserved car - by grand.Theft.Otto - 10.12.2011, 03:56
Re: HELP! Trying to add reserved car - by adios1 - 10.12.2011, 04:07

Forum Jump:


Users browsing this thread: 1 Guest(s)