HELP! REP+ Should be easy!
#1

My error:
Код:
warning 202: number of arguments does not match definition (in line 190)
The code:
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if(!strcmp(cmdtext, "/adminroof", true))
    {
        if(IsPlayerInRangeOfPoint(playerid, 3.0, 1847.7333,-1761.9608,13.5469))
        {
            SetPlayerPos(playerid, 1889.0286,-1782.9777,25.7911);//Naar boven
            SetPlayerInterior(playerid, 0);
        }
    }
    if(!strcmp(cmdtext, "/admindown", true)) ****LINE 190 IS HERE, PEOPLE, THE ERROR IS HERE IT SAYS****
    {
        if(IsPlayerInRangeOfPoint(playerid, 3.0, 0,1889.0286,-1782.9777,25.7911))
        {
            SetPlayerPos(playerid, 1847.7333,-1761.9608,13.5469);//Naar beneden
            SetPlayerInterior(playerid, 0);
        }
    }
    return 1;
}
Reply


Messages In This Thread
HELP! REP+ Should be easy! - by Songason - 18.06.2013, 02:47
Respuesta: HELP! REP+ Should be easy! - by Parka - 18.06.2013, 02:55
Re: HELP! REP+ Should be easy! - by Enforcer501 - 18.06.2013, 03:00
Re: HELP! REP+ Should be easy! - by Songason - 18.06.2013, 03:04
Re: HELP! REP+ Should be easy! - by Enforcer501 - 18.06.2013, 03:06
Re: HELP! REP+ Should be easy! - by Songason - 18.06.2013, 03:10
Re: HELP! REP+ Should be easy! - by San1 - 18.06.2013, 03:16
Re: HELP! REP+ Should be easy! - by Enforcer501 - 18.06.2013, 03:18
Re: HELP! REP+ Should be easy! - by Songason - 18.06.2013, 03:22
Re: HELP! REP+ Should be easy! - by Songason - 18.06.2013, 03:29

Forum Jump:


Users browsing this thread: 1 Guest(s)