problem with check (+rep)
#1

Hello guys..I have problem with karting system.I maked a map and right now i maked /kupikarta (/buyticket) command and right now he giving a random number of karting and right now how can i make if any player get ex. number 3 to not fall again on other player number 3.HOw can i maked it ?

Command:

pawn Код:
if(strcmp(cmdtext, "/kupikarta", true) == 0)
    {
        KartingRandom[playerid] = random(6);
        SCMF(playerid, COLOR_WHITE, "{00C0FF}[INFO]{FFFFFF} Kupivte karting karta, plativte 150$, vlezete vo karting broj %d", KartingRandom[playerid]);
        GivePlayerMoney(playerid, -150);
        KartingBroj[playerid] = KartingRandom[playerid];
        KartingKarta[playerid] = 1;
    }
Reply


Messages In This Thread
problem with check (+rep) - by ScripteRMKD - 23.06.2014, 18:17
Re: problem with check (+rep) - by ScripteRMKD - 23.06.2014, 20:19
Re: problem with check (+rep) - by GeekSiMo - 23.06.2014, 21:13
Re: problem with check (+rep) - by ScripteRMKD - 23.06.2014, 21:22
Re: problem with check (+rep) - by Juvanii - 23.06.2014, 21:27
Re: problem with check (+rep) - by ScripteRMKD - 23.06.2014, 21:35
Re: problem with check (+rep) - by ScripteRMKD - 24.06.2014, 21:48
Re: problem with check (+rep) - by Juvanii - 05.07.2014, 13:41
Re: problem with check (+rep) - by ScripteRMKD - 05.07.2014, 13:50
Re: problem with check (+rep) - by Juvanii - 05.07.2014, 18:43

Forum Jump:


Users browsing this thread: 1 Guest(s)