error 035: argument type mismatch
#1

Код:
C:\Users\Grand\Desktop\Ultimate Gaming Ground\filterscripts\LuxAdmin.pwn(7765) : error 035: argument type mismatch (argument 1)
pawn Код:
new string2[128];
format(string2, sizeof(string2), "You have been disabled for %d days!", days);
SendClientMessage(giveplayer, orange, string2);
Line 7765 =
pawn Код:
SendClientMessage(giveplayer, orange, string2);
Reply
#2

do you have stock for give player?
Reply
#3

Oh no I don't lol.
Were can I find this?
Reply
#4

I think you have to remove " give player " from send client message because it makes the wrong format.
Reply
#5

I removed it now
error 035: argument type mismatch (argument 2)
Reply
#6

okay do this SendClientMessage(playerid,orange,string2);
if you did not define orange the define it on the top of the script under includes
pawn Код:
#define orange 0xFFAF00
Reply
#7

Orange is defined ...
I changed orange to a defined color already so its not the color...
Reply
#8

I gave you the code as giveplayer coz on the script you showed us, the guy who sees this message is "giveplayer", so I dont know why you got an error from this.. Try giveplayerid instead of giveplayer
Reply
#9

giveplayer should work Its not that because when I removed it I still get the error
Reply
#10

don't do anything you need to do this
pawn Код:
SendClientMessage(playerid, -1, string2);
i think then your problem will be resolved
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)