23.06.2009, 15:25
pawn Код:
if(strcmp(cmdtext, "/teleport", true) == 0)
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
ShowMenuForPlayer(teleportmenu2, playerid);
TogglePlayerControllable(playerid, 1); // Friert den spieler(playerid) ein.
}
else
{
ShowMenuForPlayer(teleportmenu, playerid);
}
return 1;
}