SA-MP Forums Archive
HELP! Trying to add reserved car - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: HELP! Trying to add reserved car (/showthread.php?tid=302667)



HELP! Trying to add reserved car - adios1 - 10.12.2011

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;
}


Re: HELP! Trying to add reserved car - grand.Theft.Otto - 10.12.2011

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.


Re: HELP! Trying to add reserved car - adios1 - 10.12.2011

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

_____________