13.08.2013, 19:10
(
Последний раз редактировалось QatarKnight; 14.08.2013 в 11:49.
)
Hey i tried creating a pickup
and here's when you try to touch it.
When i touch it nothing happens at all. But it's there i can see the arrow. Can anyone tell me what is causing this?.
Код:
Pickup[18] = CreatePickup(1318, 1, 157.63,-1946.05,100.67, 1149);
Код:
if(pickupid == Pickup[5] || pickupid == Pickup[6] || pickupid == Pickup[7] || pickupid == Pickup[8] || pickupid == Pickup[9] || pickupid == Pickup[10] || pickupid == Pickup[11] || pickupid == Pickup[12] || pickupid == Pickup[13] || pickupid == Pickup[14] || pickupid == Pickup[15] || pickupid == Pickup[16] || pickupid == Pickup[17] || pickupid == Pickup[18]) { if(InP[playerid] == 5) { SetPlayerScore(playerid, GetPlayerScore(playerid) + 5); GivePlayerCash(playerid, 4000); format(str, sizeof(str), "[Parkour]: %s(%d) has finished the Major Parkour!", GetName(playerid), playerid); SendClientMessageToAll(COLOR_LIME, str); SendClientMessage(playerid, COLOR_YELLOW, "[Finished]: You finished the Major Parkour, Received $4,000 + 5 score!"); GameTextForPlayer(playerid, "~w~Major Parkour ~g~Finished~n~~n~~w~Reward: ~g~$4,000 ~w~+ ~g~5+ ~w~score", 6500, 3); if(God[playerid][1] == 0) { TextDrawHideForPlayer(playerid, Textdraw4); TextDrawShowForPlayer(playerid, Textdraw5); AC_BS_SetPlayerHealth(playerid, 99.0); AC_BS_SetPlayerArmour(playerid, 100.0); } SpawnPlayer(playerid); InP[playerid] = 0; } else if(InP[playerid] <= 5) { SendClientMessage(playerid, COLOR_RED, "[Error]: You are not Parkouring, You cheat, You cannot get the reward!"); } }