16.10.2009, 15:58
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/da", cmdtext, true) == 0)
{
SendClientMessage(playerid, 0xFF6600AA, "Desert Airstip");
SetPlayerPos(playerid, 430.7528, 2504.6919, 16.4844);
SetPlayerInterior(playerid, 0);
return 1;
}
if(strcmp("/teles", cmdtext, true) == 0)
{
SendClientMessage(playerid, 0xFF6600AA, "/da - /lvair");
return 1;
}
if(strcmp("/lvair", cmdtext, true) == 0)
{
SendClientMessage(playerid, 0xFF6600AA, "Las Venturas Airport");
SetPlayerPos(playerid, 1319.0171, 1251.5916, 10.8203);
SetPlayerInterior(playerid, 0);
return 1;
}
return 0;
}