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
#2

You created a thread here:

https://sampforum.blast.hk/showthread.php?tid=302665

No need to make another one.

EDIT: Wow, you made one here too:

https://sampforum.blast.hk/showthread.php?tid=302657

Read the forum rules next time, stop spamming with 3 similar topics.
Reply
#3

Okay. Sorry, I just need the script badly. :P

_____________
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)