SA-MP Forums Archive
GetPlayerInteiror - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: GetPlayerInteiror (/showthread.php?tid=143054)



GetPlayerInteiror - xLowrider - 20.04.2010

Is there any way.... I'm loooking to do something like this


GetPlayerInteriror blahblahblah

and if they're any other inteiror apart from 0 then it will set their int to 0


Re: GetPlayerInteiror - Backwardsman97 - 20.04.2010

pawn Код:
if(GetPlayerInterior(playerid) != 0)
{
   SetPlayerInterior(playerid,0);
   return 1;
}