Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:removename(playerid, params[])
- {
- if(PlayerInfo[playerid][pPremiumAccount] == 0) return SCM(playerid, COLOR_ERROR, AdminOnly);
- {
- if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SCM(playerid, COLOR_WHITE, "Nu esti intr-un vehicul.");
- if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SCM(playerid, COLOR_ERROR, "Nu esti soferul acestei masini.");
- if(GetVehicleModel(GetPlayerVehicleID(playerid)) != 411) return SCM(playerid, COLOR_ERROR, "Momentan poti folosi aceasta comanda doar pe masinile de tip Infernus.");
- if(OwnedVeh(vehicleid))
- {
- DestroyObject(ObiectMasina[playerid]);
- new string [250];
- format (string, sizeof (string), "Text sters!");
- SendClientMessage(playerid, COLOR_ORANGE, string);
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement