Error 035: argument type mismatch
#1

FIXED
Reply
#2

Show us where you define COL_RED and COL_LGREEN
Reply
#3

Here you go
pawn Код:
#define COL_RED            "{F81414}"
and
pawn Код:
#define COL_LGREEN         "{C9FFAB}"
Thanks for the reply.
Reply
#4

::: TrY !!
#define COL_RED 0xF81414AA
#define COL_LGREEN 0xC9FFABAA
Reply
#5

Hello!

Try like this if you want:

On the top of your script:
PHP код:
#define INFINITY          (Float:0x7F800000) 
Commands:
PHP код:
CMD:godoff(playeridparams[])
{
    if(
pInfo[playerid][pAdminLevel] >= 3)
    
SetPlayerHealth(playerid100.0);
    
SetPlayerArmour(playerid100.0);
    
SendClientMessage(playerid0xC9FFABAA"God mode disabled");
    return 
1;
}
            
CMD:godon(playeridparams[])
{
    if(
pInfo[playerid][pAdminLevel] >= 3)
    
SetPlayerHealth(playeridINFINITY);
    
SetPlayerArmour(playeridINFINITY);
    
SendClientMessage(playerid0xF81414AA"God mode enabled");
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)