IntToHex ... errors.
#3

Quote:
Originally Posted by Misiur
Посмотреть сообщение
Variable field is a string, IntToHex requires tagless variable.

pawn Код:
PlayerInfo[ extraid ][ p_TextColor ] = IntToHex( Field );
//Changes to
PlayerInfo[ extraid ][ p_TextColor ] = IntToHex( strval(Field) );
Could you show your PlayerInfo enum on field p_TextColor
Ok, now don't show this error:
Код:
D:\RAS\Build 26\gamemodes\RAS.pwn(11477) : error 035: argument type mismatch (argument 1)
But these errors still showing:
Код:
D:\RAS\Build 26\gamemodes\RAS.pwn(11477) : error 006: must be assigned to an array
D:\RAS\Build 26\gamemodes\RAS.pwn(13648) : error 006: must be assigned to an array
---
pawn Код:
enum p_Info
{
    ...
    p_TextColor,
};
Here is the p_TextColor var.

--------------------------
Solved
Reply


Messages In This Thread
IntToHex ... errors. - by Edvin - 30.08.2012, 06:46
Re: IntToHex ... errors. - by Misiur - 30.08.2012, 07:55
Re: IntToHex ... errors. - by Edvin - 30.08.2012, 10:24

Forum Jump:


Users browsing this thread: 1 Guest(s)