19.09.2014, 12:43
(
Последний раз редактировалось ipsLuan; 19.09.2014 в 14:58.
)
Suck, vocк tem skype?
Se sim, manda.
@edit
Tenta isto:
Se sim, manda.
@edit
Tenta isto:
pawn Код:
if(strcmp(cmd, "/autoestacionar", true) == 0)
{
if(PlayerInfo[playerid][pCarro] == 255)
{
SendClientMessage(playerid, COLOR_GREY,"Vocк nгo possui um veiculo.");
return 1;
}
if(!IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid,COLOR_GREY,"Vocк precisa estar no seu veiculo.");
return 1;
}
new Float:x,Float:y,Float:z;
new Float:a;
new carid;
new getcarid;
if(IsPlayerInVehicle(playerid,carid) && CarInfo[carid][cOwned] == 1)
{
getcarid = GetPlayerVehicleID(playerid);
GetPlayerName(playerid, playername, sizeof(playername));
GetVehiclePos(carid, x, y, z);
GetVehicleZAngle(carid, a);
if(getcarid == carid)
{
CarInfo[carid][cLocationx] = x;
CarInfo[carid][cLocationy] = y;
CarInfo[carid][cLocationz] = z;
CarInfo[carid][cAngle] = a;
GameTextForPlayer(playerid, "Seu veiculo, dara respawn aqui.", 10000, 3);
OnPropUpdate();
OnPlayerUpdate(playerid);
DestroyVehicle(carid);
CreateVehicle(CarInfo[carid][cModel],CarInfo[carid][cLocationx],CarInfo[carid][cLocationy],CarInfo[carid][cLocationz],CarInfo[carid][cAngle],CarInfo[carid][cColorOne],CarInfo[carid][cColorTwo],60000);
SaveCars();
return true;
}
return true;
}
return true;
}