26.07.2010, 20:16
So.. just relised to stop these shity timers, witch checks player positions and does something.
So crated a pickup, called it ptest=createpickup.. etc.
and moved to onplayerpickuppickup callback.
added lines
But it wont work, when i pickupit, it does nothing.
Tried all of pickup types and nothing.
full code
So crated a pickup, called it ptest=createpickup.. etc.
and moved to onplayerpickuppickup callback.
added lines
pawn Код:
if(pickupid == ptest)
{
show gametext...
}
Tried all of pickup types and nothing.
full code
pawn Код:
else if(pickupid == ptest)
{
GameTextForPlayer(playerid, "~y~Tu atradi celvedi.~n~ Raksti ~r~/guide ~y~,lai ar to iepazitos", 5000, 3);
}