AFK system errors
#1

I get these errors

Quote:

C:\Programmer\Rockstar Games\GTA San Andreas\server\gamemodes\DM.pwn(26) : warning 201: redefinition of constant/macro (symbol "COLOR_WHITE")
C:\Programmer\Rockstar Games\GTA San Andreas\server\gamemodes\DM.pwn(521 -- 523) : error 001: expected token: ",", but found "-identifier-"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Here is the link to the AFK script....

http://pastebin.com/JhyGgfZC
Please help
Reply
#2

you defined COLOR_WHITE twice.

Around Line 522 you forgot a ;
Reply
#3

your second error isnt in the AFK script. Your first one is an warning. make sure COLOR_WHITE is defined properly.
Reply
#4

Quote:
Originally Posted by Meta
Посмотреть сообщение
you defined COLOR_WHITE twice.

Around Line 522 you forgot a ;
Could you be more specific where I need to put the ";"

I fixed the white....
Reply
#5

SendClientMessage(playerid, COLOR_WHITE, "You are in AFK mode. Type /back to return." <---
Reply
#6

One error

Quote:

C:\Programmer\Rockstar Games\GTA San Andreas\server\gamemodes\DM.pwn(520) : error 001: expected token: ",", but found ";"

Reply
#7

Please help me out... What do I need to do??
Reply
#8

pawn Код:
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid, COLOR_WHITE, "You are in AFK mode. Type /back to return.");
format(string, sizeof string, "( AFK )%s is now in AFK mode", name);
Reply
#9

Thanks Jefff!!!! !DD You awesome !! It worked, thank you.. but I couldn't see the problem D
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)