19.04.2015, 03:22
Код:
[new] new vehrepair; public OnGameModeInit() { Create3DTextLabel("Grab it fast!\n$500 dude!", text, color, x,y,z, drawdistance, virtualworld, testLOS); vehrepair = CreatePickup(model, pickupsid, x,y,z, virtualworld (-1 to make it show all worlds)); return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == vehrepair) { GivePlayerMoney(playerid,500); } return 1; }