need help with (error 035: argument type mismatch (argument 2) )
#1

Код:
SetPlayerColor(playerid, GS_COLOR);//color
so the error is :

Код:
error 035: argument type mismatch (argument 2)
Reply
#2

please some one help me.... I have this code after 3 lines so its replaying the same error... Whats wrong?
Reply
#3

please some one help.... wtf no one knows?
Reply
#4

Your GS_COLOR define is probbably defined wrongly, show it to us!
Reply
#5

Код:
#define GS_COLOR #002BFF
there you go and thanks for your answer
Reply
#6

Is this in a command? Or what? Can you send the full thing that the code is in? And wrap it with
Reply
#7

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
Reply
#8

Well, you need the hexidecimal colour code. Which color is do you want for the GS_COLOR?
Reply
#9

Now I got it becouse I got Sa-MP Color Picker thank you all for your time and have a great day
Reply
#10

pawn Код:
#define GS_COLOR 0x002BFFFF
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)