Foward and public fonction error
#1

I have this code
PHP код:
CMD:stabalize(playeridparams[])
{
    
SendAdminText(playerid"/stabalize"params);
    new 
cibleidFloat:heal;
    if(
sscanf(params"u"cibleid)) return SendClientMessage(playeridCOLOR_GREY,"Usage: /stabalize [id]");
    
//if(playerid == cibleid) return SendClientMessage(playerid, COLOR_GREY, "You can't stabalize yourself.");
    
if(!IsMedic(playerid))
    {
        
SendClientMessage(playeridCOLOR_GREY,"You are not a LSFMD.");
    }
    
GetPlayerHealth(cibleidheal);
    
SetPlayerHealth(cibleid24501441);
    
SendClientMessage(playeridCOLOR_GREY,"The patient is now stabalize for 15 seconds.");
    
SetTimerEx("StopStabalizeHealth"15000false"i"cibleid);
    return 
1;
}
foward StopStabalizeHealth(cibleid);
public 
StopStabalizeHealth(cibleid)
{
    
SetPlayerHealth(cibleid15);

Код:
C:\Users\mickael\Desktop\LGRP\gamemodes\UGRP.pwn(8000) : error 010: invalid function or declaration
C:\Users\mickael\Desktop\LGRP\gamemodes\UGRP.pwn(8001) : warning 235: public function lacks forward declaration (symbol "StopStabalizeHealth")
but i seen the wiki all is good what's the problem ? Please help.
Reply


Messages In This Thread
Foward and public fonction error - by Eymeric69 - 05.07.2016, 11:20
Re: Foward and public fonction error - by Mencent - 05.07.2016, 11:21
Re: Foward and public fonction error - by DarkSkull - 05.07.2016, 11:23
Re: Foward and public fonction error - by Eymeric69 - 05.07.2016, 11:23
Re: Foward and public fonction error - by Vince - 05.07.2016, 11:41

Forum Jump:


Users browsing this thread: 1 Guest(s)