13.01.2015, 18:14
Hey Guys since I didnt script for a long while Iґve got a small problem with a stock Iґm trying to create.
The Compiler keeps giving me the following error on every of these lines:
But I still dont get what could be wrong, Iґm sure its kinda easy to fix but now Iґm feeling like a dumbass
The Compiler keeps giving me the following error on every of these lines:
Quote:
warning 202: number of arguments does not match definition |
PHP код:
stock UpdatePlayerColor(playerid)
{
if(GetPlayerHealth(playerid) >= 90) SetPlayerColor(playerid,0x00B900FF);
if(GetPlayerHealth(playerid) >= 80) SetPlayerColor(playerid,0x009A00FF);
if(GetPlayerHealth(playerid) >= 70) SetPlayerColor(playerid,0x007300FF);
return 1;
}