22.02.2009, 00:38
About the pickup, I made a very brief demonstration here:
Along with your variables:
OnGameModeInit/OnFilterscriptInit:
This callback is already on the template, search for it:
If you need anymore help private message me and i'll make you a more formal demonstration!
Along with your variables:
pawn Код:
new bob;
pawn Код:
bob = CreatePickup(1277, 23, X, Y, Z);
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == bob)
{
//Do stuff here, like SetPlayerPos() etc!
}
return 1;
}

