help with scripting
#2

I don't understand what you mean but ill give a shot at it ? Do you want so if a player enters that static pickup his position changes? If so, here's the code...

pawn Код:
//TOP OF SCRIPT
new pickup1;
pawn Код:
//OnGameModeInIt
pickup1 = AddStaticPickup(1318,2,-2216.2722,2315.9092,7.5469);
pawn Код:
//OnPlayerPickupPickup
if(pickupid == pickup1)
{
SetPlayerPos(playerid,-2232.8948,2299.5195,19.8680);
}
Reply


Messages In This Thread
help with scripting - by miroku68 - 08.08.2009, 01:52
Re: help with scripting - by coole210 - 08.08.2009, 01:59
Re: help with scripting - by miroku68 - 08.08.2009, 02:02
Re: help with scripting - by AcId n RaPiD - 08.08.2009, 02:08

Forum Jump:


Users browsing this thread: 4 Guest(s)