10.04.2011, 13:39
Hy guys as you can see i am new on this forum i'm sorry if i make some mistake in writing, i have VERY bad english :P
I have a problem with pickups. I am put some pickups in my gamemode and i want to show GameTex when i pick up pickup. Here is code for better explanation:
I dont get any errors, but when i go to the pickup nothing happens :S can anybody help me whit this
Once more, sorry for bad english :P
I have a problem with pickups. I am put some pickups in my gamemode and i want to show GameTex when i pick up pickup. Here is code for better explanation:
Код:
new pickup[6]; //i put more pickups... public OnGameModeInit() { pickup[5] = CreatePickup(...); return 1; } public OnPlayerPickuUpPickup(playerid, pickupid) { if(pickupid == pickup[5]) GameTextForPlayer(playerid, "...", ...); return 1; }
Once more, sorry for bad english :P