- 0
[GF/RP] Nu merge /rc la vip
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
Myh4yx
am un gm si am comanda de respawn car /rc si nu merge daca imi dau admin merge dar daca imi dau si vip zice ca num am autorizatie [pawn] if(strcmp(cmd, "/respawnthiscar", true) == 0 || strcmp(cmd, "/rc", true) == 0) // by Ellis
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 2 )
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
return 1;
}
if(IsPlayerInAnyVehicle(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, 256, "[ADMIN] %s has just respawned vehicle id %d.",sendername,GetPlayerVehicleID(playerid));
ABroadCast(COLOR_YELLOW,string,1);
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_GREY, " Vehicle Respawned !");
}
}
return 1;
}[/pawn]
Trebe adaugat si in Fs ceva ?
3 answers to this question
Recommended Posts