SA-MP Forums Archive
[SOLVED] Interior problem :/ - 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: [SOLVED] Interior problem :/ (/showthread.php?tid=125202)



[SOLVED] Interior problem :/ - [Bm]rap45 - 02.02.2010

Ok so i was making this house checkpoint to go in and out and the checkpointd appears and i go into the location but i can't use "SetPlayerInterior" thing. so i get teleported in the air D:

Код:
(242) : error 017: undefined symbol "SetPLayerInterior"
and here are the lines

Код:
public OnCheckpointEnter(playerid, checkpointid){
	switch(checkpointid)
	{
	  
	  case HOUSE_GROVE:
	  {
	    SetPlayerPos(playerid,226.0392,1021.4529,1084.0177);
	    SetPLayerInterior(playerid,7); <---- this is the problem :/
	  }
	}
	return 1;
}



Re: Interior problem :/ - Correlli - 02.02.2010

It's SetPlayerInterior, not SetPLayerInterior.


Re: Interior problem :/ - hvampire - 02.02.2010

u have L (capital) in SetPLayerInterior it should be SetPlayerInterior


Re: Interior problem :/ - [Bm]rap45 - 02.02.2010

Quote:
Originally Posted by Don Correlli
It's SetPlayerInterior, not SetPLayerInterior.
Wow how i couldn't see that D: that was really dumb from me. Thanks