Why this bugs
#4

Код:
#include <a_samp>

#define FILTERSCRIPT
new gTickCount;
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    new vehicleid = GetPlayerVehicleID(playerid);
    if(GetVehicleModel(vehicleid) == 418) //BMX
    {
        if(GetPlayerScore(playerid) < 50)
        {
            RemovePlayerFromVehicle(playerid);
            SendClientMessage(playerid,0xAA3333AA,"You need 50 score to drive this car.");
        }
        gTickCount = tickcount();
    }
    return 1;
}
forward wincash(playerid);
public wincash(playerid)
{
    if(( tickcount() - gTickCount ) > 60000 )
    GivePlayerMoney( playerid, 20 );
    return 1;
}
Good Code ?
Reply


Messages In This Thread
Why this bugs - by truckingserver - 12.12.2012, 16:59
Re: Why this bugs - by LarzI - 12.12.2012, 17:10
AW: Why this bugs - by Kevin54321 - 12.12.2012, 17:12
Re: Why this bugs - by truckingserver - 12.12.2012, 17:17
Re: Why this bugs - by ikey07 - 12.12.2012, 17:18
Re: Why this bugs - by LarzI - 12.12.2012, 17:34
Re: Why this bugs - by truckingserver - 12.12.2012, 17:36
Re: Why this bugs - by truckingserver - 12.12.2012, 17:39
Re: Why this bugs - by LarzI - 12.12.2012, 17:40
Re: Why this bugs - by truckingserver - 12.12.2012, 17:55

Forum Jump:


Users browsing this thread: 1 Guest(s)