16.06.2011, 13:13
Can someone give an example to /enter, Example, someone make me command " /enter at all saint, when the player /enter, his interior goes to ID 4," I need example.
command(enter, playerid, params[])
{
if(IsPlayerInRange(playerid, 5, 5, X EnterPos, Y EnterPos, Z EnterPos))
{
SetPlayerPos(playerid, X ExitPos, Y ExitPos, Z ExitPos);
SetPlayerInterior(playerid, Interior ID);
}
return 1;
}
pawn Код:
|
Ok, go in-game and do /save, then go to the san andreas user files > saved positions, after that go to the script on the top and paste those coords, (IfIsplayerOnRangePoint, means if you are near that place so in fact that command will make this:
When you type enter and your near that place you'll be teleported. Just go to the savedpositions and post here the coords and I'll make it for you. |