25.11.2012, 19:49
pawn Код:
if (strcmp ("/drop", cmdtext, true, 10) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
if (GetPlayerState(playerid) == 2) {
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 2077.6475, -606.2309, 365.9417);
LinkVehicleToInterior(tmpcar, 0); }
SendClientMessage(playerid, VERDE, "Vocк foi teleportadoate o drop");
}
else
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 2077.6475, -606.2309, 365.9417);
SendClientMessage(playerid, VERDE, "Vocк foi teleportadoate o drop");
}
return 1;
}