timer
#1

hi i was looking for a timer for a pickup. so like if they walk into the pickup only that 1 person can have that pickup and evrey 30sec they get $1000 here is the code im useing

Код:
new Pickup;
public OnGameModeInit()
{
Pickup = CreatePickup(1210, 2 ,2019.7742,1344.4839,10.8203);
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == Pickup)
{
GivePlayerMoney(playerid,100000);
SendClientMessage(playerid,0x33AA33AA,"You Better Run They Gonna Whant That Money");
return 1;
}
return 1;
}
thx for ur time
Reply


Messages In This Thread
timer - by sggassasin - 18.07.2009, 09:06
Re: timer - by MenaceX^ - 18.07.2009, 09:26
Re: timer - by sggassasin - 18.07.2009, 09:28
Re: timer - by refshal - 18.07.2009, 09:29
Re: timer - by sggassasin - 18.07.2009, 09:44
Re: timer - by Karlip - 18.07.2009, 09:46
Re: timer - by sggassasin - 18.07.2009, 09:48
Re: timer - by Karlip - 18.07.2009, 09:50
Re: timer - by sggassasin - 18.07.2009, 09:53
Re: timer - by refshal - 18.07.2009, 09:53
Re: timer - by Karlip - 18.07.2009, 09:55
Re: timer - by refshal - 18.07.2009, 09:57
Re: timer - by sggassasin - 18.07.2009, 10:06
Re: timer - by sggassasin - 18.07.2009, 10:12
Re: timer - by refshal - 18.07.2009, 10:16
Re: timer - by sggassasin - 18.07.2009, 10:39
Re: timer - by refshal - 18.07.2009, 10:42
Re: timer - by sggassasin - 18.07.2009, 10:50
Re: timer - by sggassasin - 18.07.2009, 10:56
Re: timer - by MenaceX^ - 18.07.2009, 11:12

Forum Jump:


Users browsing this thread: 2 Guest(s)