Missunderstood Error?
#1

Those errors
Код:
C:\Users\бгйчд\Desktop\RolePlay Server\gamemodes\RolePlay.pwn(880) : error 035: argument type mismatch (argument 2)
C:\Users\бгйчд\Desktop\RolePlay Server\gamemodes\RolePlay.pwn(881) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Those are both lines:
PHP код:
SendClientMessage(playeridCOLOR_WHITE,"TIP: /help [name]");
        
SendClientMessage(playeridCOLOR_WHITE,"Names: Chat, Misc , House, Business, Helper, Admin, Vehicle"); 
Dafuq? whats the problem here didn't got yet.

+REP for helpers
Reply
#2

How is COLOR_WHITE is defined? Use -1 for white if you want to.
Reply
#3

pawn Код:
SendClientMessage(playerid, 0xFFFFFFFF,"TIP: /help [name]");
SendClientMessage(playerid, 0xFFFFFFFF,"Names: Chat, Misc , House, Business, Helper, Admin, Vehicle");
if work with this check if you have declared constant COLOR_WHITE as 0xFFFFFFFF.
Reply
#4

Quote:
Originally Posted by iZN
Посмотреть сообщение
How is COLOR_WHITE is defined? Use -1 for white if you want to.
Learned something new, so in default COLOR_WHITE should've be defined and be replaced with -1, thanks +rep'ed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)