Hello I built my server activity then I built her a launching area of activity and I want to do I'm in that area I will be able to send my car to the area but it seems I can not send the vehicle to the area this is how I do it will be possible to send the car to this area? This command
PHP код:
if (strcmp("/GoToDrisa", cmdtext, true, 10) == 0)
{
if(!IsPlayerXAdmin(playerid))return SendClientMessage(playerid,0xFF0000FF,"фчегд жаъ жойрд шч магойрйн");
if( GetPlayerState(playerid) == PLAYER_STATE_DRIVER )
{
SetVehiclePos(GetPlayerVehicleID(playerid), 2381.4929,1132.9126,34.2529 );
SetVehicleZAngle(GetPlayerVehicleID(playerid), 268.4467 );
SetPlayerTime(playerid,00,00);
LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0 );
}else{
SetPlayerPos(playerid, 2381.4929,1132.9126,34.2529);
SetPlayerFacingAngle(playerid, 268.4467);
SetPlayerTime(playerid,10,00);
ResetPlayerWeapons(playerid);
}
SetPlayerVirtualWorld(playerid, 62);
SetPlayerInterior(playerid,0);
SendClientMessage(playerid, 0x00FF00FF, "! дщъвшъ мажеш дфтймеъ гшйсд");
return 1;
}