SA-MP Forums Archive
Little help? - 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)
+--- Thread: Little help? (/showthread.php?tid=522052)



Little help? - M4estro - 25.06.2014

Ok so i decided to make my own house system and i need help at one thing...How i could make so when player enter check point inside house he will spawn out of house/at house icon for example?
if(checkpointid == HouseExit[i])
{
SetPlayerPos(playerid,AHouseData[i][HouseX]+3,AHouseData[i][HouseY],AHouseData[i][HouseZ]);
}


Re: Little help? - M4estro - 26.06.2014

Lol no one don't know how to fix this?


Re : Little help? - Clad - 26.06.2014

pawn Код:
SetPlayerPos(playerid, HouseInfo[houseid][hExitX], HouseInfo[houseid][hExitY], HouseInfo[houseid][hExitZ]);