Em OnPlayerCommandText Cole o Script Abaixo:
if(strcmp(cmdtext, "/knd", true) == 0)
{
new pName[MAX_PLAYER_NAME];
new string [128];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "*** %s ( ID: %d ) Foi Para ( Knd )", pName, playerid);
SendClientMessageToAll(0xFFFF00AA, string);
if(GetPlayerState(playerid) == 2)
{
SetVehiclePos(GetPlayerVehicleID(playerid), // Aki as Cordenadas do Veiculo -2865.4897,-260.3286,9.1168);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.0);
LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
}
else
{
SetPlayerPos(playerid, -3603.7815,-305.3500,7.2637);// Aki As Cordenadas do Player
}
GameTextForPlayer(playerid, "~w~Vc ta em ~Y~ Knd", 4000, 6);
SetPlayerInterior(playerid, 0);
return 1;
}
Não Remova Os Creditos By:[KnD]Anderson_Ozzy