need help with (error 035: argument type mismatch (argument 2) ) - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: need help with (error 035: argument type mismatch (argument 2) ) (
/showthread.php?tid=260356)
need help with (error 035: argument type mismatch (argument 2) ) -
trapped1 - 08.06.2011
Код:
SetPlayerColor(playerid, GS_COLOR);//color
so the error is :
Код:
error 035: argument type mismatch (argument 2)
Re: need help with (error 035: argument type mismatch (argument 2) ) -
trapped1 - 08.06.2011
please some one help me.... I have this code after 3 lines so its replaying the same error... Whats wrong?
Re: need help with (error 035: argument type mismatch (argument 2) ) -
trapped1 - 08.06.2011
please some one help.... wtf no one knows?
Re: need help with (error 035: argument type mismatch (argument 2) ) -
Mean - 08.06.2011
Your GS_COLOR define is probbably defined wrongly, show it to us!
Re: need help with (error 035: argument type mismatch (argument 2) ) -
trapped1 - 08.06.2011
Код:
#define GS_COLOR #002BFF
there you go

and thanks for your answer
Re: need help with (error 035: argument type mismatch (argument 2) ) -
iGetty - 08.06.2011
Is this in a command? Or what? Can you send the full thing that the code is in? And wrap it with
Re: need help with (error 035: argument type mismatch (argument 2) ) -
trapped1 - 08.06.2011
Quote:
{
if(GetPlayerSkin(playerid) == 105)//grove
{
SetPlayerColor(playerid, GS_COLOR);//color
SetPlayerTeam(playerid, 0);// you need team so if someone shoots another person in team, they wont lose health
SendClientMessage(playerid, TEAM_GS, "You have joined team GROVE");
}
|
this is full code
AW: need help with (error 035: argument type mismatch (argument 2) ) -
Julian12345 - 08.06.2011
Well, you need the hexidecimal colour code. Which color is do you want for the GS_COLOR?
Re: need help with (error 035: argument type mismatch (argument 2) ) -
trapped1 - 08.06.2011
Now I got it becouse I got Sa-MP Color Picker

thank you all

for your time

and have a great day
Re: need help with (error 035: argument type mismatch (argument 2) ) -
Mean - 08.06.2011
pawn Код:
#define GS_COLOR 0x002BFFFF