Warning 202
#1

Hey guys,

My custom gamemode has this annoying Warning..

My code:

Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerWorldBounds(playerid, 20000.0000, -20000.0000, 20000.0000, -20000.0000);
    new Random = random(sizeof(RandomSpawns));
    SetPlayerPos(playerid, RandomSpawns[Random][0], RandomSpawns[Random][1], RandomSpawns[Random][2]);
    SetPlayerFacingAngle(playerid, RandomSpawns[Random][3]);

	if(gPlayerClass[playerid] == TRUCKER)
    {
        TogglePlayerControllable(playerid, blue, "*You have spawned as a Trucker!");
        SetPlayerSkin(playerid, 206);
    }
	return 1;
}
The compiler output:
Код:
C:\Users\WickeD\Desktop\Alpine Trucking\gamemodes\Trucking.pwn(231) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Any help would be appreciated!
Reply


Messages In This Thread
Warning 202 - by Excelize - 05.12.2013, 05:05
Re: Warning 202 - by DobbysGamertag - 05.12.2013, 05:16
Re: Warning 202 - by Excelize - 05.12.2013, 05:39

Forum Jump:


Users browsing this thread: 3 Guest(s)