Argument type mismatch (argument 1)
#10

Quote:
Originally Posted by milanosie
Посмотреть сообщение
pawn Код:
public AdminChat(color2, playerid, const string[])
Remove the const and change it to this:

pawn Код:
public AdminChat(color2, playerid,string[])
And use it like this

pawn Код:
AdminChat(0x9EC73DAA, playerid, string);
Weird, that actually solved my issue, seems like it doesnt allow me to define colors with "{B700FF}"
Dont know if that's the right way to define colors but they work on playerconnect so..
Reply


Messages In This Thread
Argument type mismatch (argument 1) - by Ukko - 28.06.2012, 22:19
Re: Argument type mismatch (argument 1) - by DeathTone - 28.06.2012, 22:20
Re: Argument type mismatch (argument 1) - by [KHK]Khalid - 28.06.2012, 22:23
Re: Argument type mismatch (argument 1) - by Ukko - 28.06.2012, 22:23
Re: Argument type mismatch (argument 1) - by Stevo127 - 28.06.2012, 22:31
Re: Argument type mismatch (argument 1) - by Ukko - 28.06.2012, 22:34
Re: Argument type mismatch (argument 1) - by Stevo127 - 28.06.2012, 22:38
Re: Argument type mismatch (argument 1) - by [KHK]Khalid - 28.06.2012, 22:42
Re: Argument type mismatch (argument 1) - by milanosie - 28.06.2012, 23:19
Re: Argument type mismatch (argument 1) - by Ukko - 29.06.2012, 00:00

Forum Jump:


Users browsing this thread: 2 Guest(s)