Jump to content
  • 0

Teleportare vehicul


Question

Guest Cip007
Posted

Sall all.............am creat o teleportare in gmul meu....merge tot ok......DAR cand sunt intrun vehicul si ma teleportez...ma scoate din el!!!!!cum fac sa ma teleportez cu tot cu vehicul?????????ms

3 answers to this question

Recommended Posts

Posted

[pawn] if(strcmp(cmd, "/ls", true) == 0)

{

if (GetPlayerState(playerid) == 2)

{

new tmpcar = GetPlayerVehicleID(playerid);

SetVehiclePos(tmpcar, 1529.6,-1691.2,13.3);//inlocui cordonatele

}

else

{

SetPlayerPos(playerid, 1529.6,-1691.2,13.3);//inlocui cordonatele

}

SendClientMessage(playerid, COLOR_GRAD1, "  You have been teleported !");

SetPlayerInterior(playerid,0);

}

return 1;

}[/pawn]

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Posted

Uite toata comanda Aici.

if(strcmp(cmd, "/gotols", true) == 0)

{

    if(IsPlayerConnected(playerid))

    {

if(PlayerInfo[playerid][pAdmin] >= 3 || PlayerInfo[playerid][pHelper] >= 3)

{

if (GetPlayerState(playerid) == 2)

{

new tmpcar = GetPlayerVehicleID(playerid);

SetVehiclePos(tmpcar, 1529.6,-1691.2,13.3);

TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;

}

else

{

SetPlayerPos(playerid, 1529.6,-1691.2,13.3);

}

SendClientMessage(playerid, COLOR_GRAD1, "  You have been teleported !");

SetPlayerInterior(playerid,0);

PlayerInfo[playerid][pInt] = 0;

}

else

{

SendClientMessage(playerid, COLOR_GRAD1, "  You are not authorized to use that command !");

}

}

return 1;

}

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.