[Ajuda] Comando de teleporte com carro nгo funciona
#3

Tenta:
pawn Код:
if(strcmp(cmdtext, "/drop", true) == 0) {
   if(IsPlayerInAnyVehicle(playerid)) {
   new VehicleID;
   VehicleID = GetPlayerVehicleID(playerid);
   SetVehiclePos(VehicleID,2077.6475, -606.2309, 365.9417);
   SetVehicleZAngle(GetPlayerVehicleID(playerid), 179.0);
   new pname[MAX_PLAYER_NAME];
   GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
   format(string, sizeof(string), "%s foi descer o drop {FF0000}( /DROP )", pname);
   SendClientMessageToAll(0x00FF00FF, string);
   SetPlayerInterior(playerid,0);
   PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
 }
   else{
       new pname[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
       format(string, sizeof(string), "%s foi descer o drop {FF0000}( /DROP )", pname);
       SendClientMessageToAll(0xFF00FFFF, string);
       SetPlayerInterior(playerid,0);
       SetPlayerPos(playerid,2077.6475, -606.2309, 365.9417);
       SetPlayerFacingAngle(playerid,190.9207);
       PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
       }
   return 1;
}
Reply


Messages In This Thread
[Ajuda] Comando de teleporte com carro nгo funciona - by Adriano Pasoti - 25.11.2012, 18:47
Re: [Ajuda] Comando de teleporte com carro nгo funciona - by FleXx_01 - 25.11.2012, 19:49
Re: [Ajuda] Comando de teleporte com carro nгo funciona - by Gleisson_. - 29.11.2012, 00:17

Forum Jump:


Users browsing this thread: 1 Guest(s)