25.01.2010, 00:44
Well I was following the sa-mp wiki to do some research about pickups.
I've made the info pickup but when i run through it the game text doesn't pop up..
This is what the pickup and stuff are..
and the 'OnPlayerPickUpPickup' function.
Please help!
Thanks,
Lorenc
I've made the info pickup but when i run through it the game text doesn't pop up..
This is what the pickup and stuff are..
pawn Код:
dive = AddStaticPickup(1239, 2, 1763.684,-1486.484,453.757);
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == dive) GameTextForPlayer(playerid,"Jump out and dive!!",2500,6);
}
Thanks,
Lorenc