Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. YCMD:svf(playerid, params[], help) {
  2. if(playerVariables[playerid][pPinStatus] == 0) return PinOnly(playerid);
  3. if(playerVariables[playerid][pFMember] == 0) return SCM(playerid, COLOR_GREY, "Error: You are not a faction member.");
  4. if(IsPlayerInRangeOfPoint(playerid, 1575.7570,-1633.7567,13.5572)) {
  5. if(OnDuty[playerid] == 0) return SCM(playerid, COLOR_GREY, "Error: You are not on duty.");
  6. if(playerVariables[playerid][pFMember] != 1) return SCM(playerid, COLOR_GREY, "Error: You are not a member of this faction.");
  7. ShowPlayerDialog(playerid, DIALOG_SVFLSPD, DIALOG_STYLE_LIST, "Group Vehicles", "HPV1000\nPolice Car\nPolice Ranger\nNRG-500\nBullet\nInfernus\nMaverick\n", "Ok", "Exit"); }
  8. return 1; }
  9.  
  10. [17:21:16] [debug] AMX backtrace:
  11. [17:21:16] [debug] #0 0000000c in public @_yCsvf (playerid=0, params[]=@007122b4 "", help=0) at <unknown file>:0
  12. [17:21:16] [debug] #1 0009da90 in public @yC_svf () at gm.pwn:6800
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement