30.04.2017, 14:40
Code:
CMD:myveh(playerid, params[]) { if(GetPVarInt(playerid, "Admin") >= 7) { if(GetPVarInt(playerid, "PlayerLogged") == 0) return SendClientMessage(playerid, COLOR_WHITE, "You must be logged in to use this."); if(IsPlayerConnected(playerid)) { if(isnull(params)) { SCM(playerid, COLOR_ERROR, "USAGE: /myveh [name]"); SCM(playerid, COLOR_GREY, "Available names: Sabre, FBITruck"); return 1; } if(strcmp(params,"Sabre",true) == 0) { // } if(strcmp(params,"FBITruck",true) == 0) { // } } } else SendClientMessage(playerid, COLOR_ERROR, "You do not have access to this command!"); return 1; }