05.02.2011, 10:31
Hello!
I made a teleport command inside a shop .
In that when i use the command the player is standing in different position.
I want to set it to a permenent position, plz help me. This is the pawno..
I made a teleport command inside a shop .
In that when i use the command the player is standing in different position.
I want to set it to a permenent position, plz help me. This is the pawno..
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/casino", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid, 206.9470,-137.1189,1002.8744);
SetPlayerInterior(playerid,3);
return 1;
}
return 0;
}