SA-MP Forums Archive
Need help - Beginner. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Need help - Beginner. (/showthread.php?tid=350889)



Need help - Beginner. - Snooopzz - 14.06.2012

Well, tried mapping with SAMP editor & don't really know how to add what I have mapped, so I am requesting some help.

This is just a test code, but wanna know HOW to add it on the pawno.
Код:
RemoveBuildingForPlayer(playerid, 16590, 199.3438, 1943.7891, 18.2031, 0.25);
RemoveBuildingForPlayer(playerid, 16619, 199.3359, 1943.8750, 18.2031, 0.25);
RemoveBuildingForPlayer(playerid, 3279, 113.3828, 1814.4531, 16.8203, 0.25);
RemoveBuildingForPlayer(playerid, 3279, 165.9531, 1849.9922, 16.8203, 0.25);
RemoveBuildingForPlayer(playerid, 16094, 191.1406, 1870.0391, 21.4766, 0.25);
RemoveBuildingForPlayer(playerid, 3279, 103.8906, 1901.1016, 16.8203, 0.25);
RemoveBuildingForPlayer(playerid, 16203, 199.3438, 1943.7891, 18.2031, 0.25);
RemoveBuildingForPlayer(playerid, 3279, 161.9063, 1933.0938, 16.8203, 0.25);
RemoveBuildingForPlayer(playerid, 16323, 199.3359, 1943.8750, 18.2031, 0.25);
Please type your comments, what to type on the pawno before pasting this, thanks.


Re: Need help - Beginner. - Dare Devil..... - 14.06.2012

Well just put these codes in pawno save it press F5 to complie it and you are done..


Re: Need help - Beginner. - Jikesh - 14.06.2012

Add that RemoveBuildingForPlayer code under public OnPlayerConnect(playerid) and you are done

I hope this helps --> https://sampwiki.blast.hk/wiki/RemoveBuildingForPlayer

If you have CreateObject code, then you will have to just paste it under OnGameModeInit and compile.