Missunderstood Error? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Missunderstood Error? (
/showthread.php?tid=511218)
Missunderstood Error? -
DemME - 04.05.2014
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(playerid, COLOR_WHITE,"TIP: /help [name]");
SendClientMessage(playerid, COLOR_WHITE,"Names: Chat, Misc , House, Business, Helper, Admin, Vehicle");
Dafuq? whats the problem here didn't got yet.
+REP for helpers
Re: Missunderstood Error? -
iZN - 04.05.2014
How is COLOR_WHITE is defined? Use -1 for white if you want to.
Re: Missunderstood Error? -
Galletziz - 04.05.2014
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.
Re: Missunderstood Error? -
DemME - 04.05.2014
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.