Quote:
Originally Posted by Da_Noob
It's probably params, so it would look like this:
pawn Код:
CMD:fix(playerid, params[]) { new vehicleid = GetPlayerVehicleID(playerid); if(PlayerData[playerid][VipLevel] < 1) return 0; IsPlayerInAnyVehicle(playerid); SetVehicleHealth(vehicleid, 1000.0); RepairVehicle(vehicleid); return 1; }
CMD:v(playerid, params[]) { new string[128]; new name[MAX_PLAYERS_NAME]; if(PlayerData[playerid][VipLevel] < 1) return 0; GetPlayerName(playerid, name,MAX_PLAYERS_NAME); format(string, sizeof(string), "%s: %s", name, params);// added params here SendClientMessageToAll(-1, string); return 1; }
|
Yea , it might be , but we cant go against the thinking of the owner of the script so i asked him