18.07.2009, 09:06
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
thx for ur time
Код:
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; }