Quote:
Originally Posted by Jstylezzz
Lol..
pawn Код:
if(PInfo[playerid][Vip] == 1)
It will only work if the players Vip variable is 1, it's doing what it has to do..
pawn Код:
CMD:neon(playerid,params[]) { if(!IsVehicleValid(GetVehicleModel(GetPlayerVehicleID(playerid)))) return SendClientMessage(playerid, COLOR_ERROR, "You can't use neon on this vehicle."); if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_ERROR, "You must be the driver of a vehicle to use this."); ShowPlayerDialog(playerid, DIALOG_NEONTYPES, DIALOG_STYLE_LIST, "Neon Settings", "Solid Neon/No Flash\nSimultaneous Flash\nAlternating Flash\nRemove All Neon", "Select", "Cancel"); return 1; }
The code above will work even if you're not VIP.
|
Any way to use this for vip only? And it isn't doing what it has to do.