15.09.2011, 00:57
pawn Код:
#include <a_samp>
#define VERMELHO 0xFF0000
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp("/drag1", cmdtext, true))
{
SetPlayerPos(playerid,431.5077,2505.2539,16.4844);//AEROPORTO ABANDONADO
SetPlayerInterior(playerid,0);
return SendClientMessage(playerid, VERMELHO,"Vocк se teleportou para /drag1");
}
if(!strcmp("/drift1", cmdtext, true))
{
SetPlayerPos(playerid,-302.4971,1512.867,75.35938);//AREA CIENTIFICA
SetPlayerInterior(playerid,0);
return SendClientMessage(playerid, VERMELHO,"Vocк se teleportou para /drift1");
}
return 0;
}