Ban System
#1

Hi I was searching here for a Ban System.
What I found was this: https://sampforum.blast.hk/showthread.php?tid=401701
I used that Code to implement it in my gamemode but now I got those errors:

D:\Rockstar Games\GTA San Andreas\gamemodes\GFSUpdated.pwn(60) : error 017: undefined symbol "SInfo"
D:\Rockstar Games\GTA San Andreas\gamemodes\GFSUpdated.pwn(60) : warning 215: expression has no effect
D:\Rockstar Games\GTA San Andreas\gamemodes\GFSUpdated.pwn(60) : error 001: expected token: ";", but found "]"
D:\Rockstar Games\GTA San Andreas\gamemodes\GFSUpdated.pwn(60) : error 029: invalid expression, assumed zero

I was trying to edit the Line, since Error 001 usually tells me that I am missing a ";" but I can't find any solution.

Code:
Quote:

enum PlayerInfo
{
Banned
};
forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
INI_Int("Banned",SInfo[playerid][Banned]); <<<<<<<<<Line 60
return 1;
}

Reply


Messages In This Thread
Ban System - by JXZ - 03.06.2020, 16:50
Re: Ban System - by makemoneynotfriends - 03.06.2020, 16:53
Re: Ban System - by JXZ - 03.06.2020, 16:57
Re: Ban System - by makemoneynotfriends - 03.06.2020, 16:58
Re: Ban System - by JXZ - 03.06.2020, 17:00
Re: Ban System - by Shadow0707 - 03.06.2020, 17:53
Re: Ban System - by JXZ - 03.06.2020, 17:57
Re: Ban System - by Shadow0707 - 03.06.2020, 18:01
Re: Ban System - by JXZ - 03.06.2020, 18:08
Re: Ban System - by Shadow0707 - 03.06.2020, 18:13

Forum Jump:


Users browsing this thread: 1 Guest(s)