Problem with a stock
#1

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:

Quote:

warning 202: number of arguments does not match definition

PHP код:
stock UpdatePlayerColor(playerid)
{
    if(
GetPlayerHealth(playerid) >= 90)    SetPlayerColor(playerid,0x00B900FF);
    if(
GetPlayerHealth(playerid) >= 80SetPlayerColor(playerid,0x009A00FF);
    if(
GetPlayerHealth(playerid) >= 70SetPlayerColor(playerid,0x007300FF);
    return 
1;

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
Reply


Messages In This Thread
Problem with a stock - by Saize - 13.01.2015, 18:14
Re: Problem with a stock - by Ahmad45123 - 13.01.2015, 18:16
AW: Re: Problem with a stock - by Saize - 13.01.2015, 18:20

Forum Jump:


Users browsing this thread: 2 Guest(s)