Ban command help
#7

Quote:
Originally Posted by park4bmx
Посмотреть сообщение
ok, if that is current then show how you set up PlayerInfo/SInfo
and line 50 is exactly ?

And there is wrong string tag like i said
pawn Код:
if(SInfo[playerid][Level] < 1) format(string, sizeof(string), "%s[%d] has been banned by Moderator %s[%d] - %s", id, name2, playerid,
I don't know what you mean by telling me to show you how I set up playerinfo and SInfo, I'm sorry. The following code is line 50, like you asked.

pawn Код:
INI_Int("Banned",SInfo[playerid][Banned]);
BTW: I changed
pawn Код:
if(SInfo[playerid][Level] < 1) format(string, sizeof(string), "%s[%d] has been banned by Moderator %s[%d] - %s", id, name2, playerid,
that code you sent me with my last one, but still 4 errors.

pawn Код:
C:\Users\vasu\Desktop\Sa-Mp Roleplay Serv\gamemodes\Roleplay.pwn(50) : error 017: undefined symbol "SInfo"
C:\Users\vasu\Desktop\Sa-Mp Roleplay Serv\gamemodes\Roleplay.pwn(50) : warning 215: expression has no effect
C:\Users\vasu\Desktop\Sa-Mp Roleplay Serv\gamemodes\Roleplay.pwn(50) : error 001: expected token: ";", but found "]"
C:\Users\vasu\Desktop\Sa-Mp Roleplay Serv\gamemodes\Roleplay.pwn(50) : error 029: invalid expression, assumed zero
C:\Users\vasu\Desktop\Sa-Mp Roleplay Serv\gamemodes\Roleplay.pwn(50) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
Ban command help - by Vasu99 - 01.03.2014, 21:09
Re: Ban command help - by Abagail - 01.03.2014, 21:10
Re: Ban command help - by park4bmx - 01.03.2014, 21:11
Re: Ban command help - by Vasu99 - 01.03.2014, 21:23
Re: Ban command help - by park4bmx - 01.03.2014, 21:33
Re: Ban command help - by Vanter - 01.03.2014, 21:50
Re: Ban command help - by Vasu99 - 01.03.2014, 22:08
Re: Ban command help - by Kar - 01.03.2014, 22:47
Re: Ban command help - by EquipeBMR - 01.03.2014, 23:10
Re: Ban command help - by Vasu99 - 01.03.2014, 23:12

Forum Jump:


Users browsing this thread: 1 Guest(s)