error 010: invalid function or declaration
#6

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Posting the line that gave the error would be helpful..
Код:
	    if(PlayerPaintballing[playerid] == 1)
	    {
			SetPlayerInterior(playerid, 0);
			SetPlayerVirtualWorld(playerid, 0);
	        GunsBeingRemoved[playerid] = 1;
         	ResetPlayerWeapons(playerid);
         	DestroyPickup(pbHealth);
          	SetPlayerHealth(playerid, 100);
    		SetPlayerArmour(playerid, 100);
		    new rand = random(sizeof(PaintballSpawns));
			SetPlayerPos(playerid, PaintballSpawns[rand][0], PaintballSpawns[rand][1], PaintballSpawns[rand][2]);
   			for (new i = 0; i < 13; i++)
			{
				GiveDodWeapon(playerid, pbGuns[2][0], 99999);
				GiveDodWeapon(playerid, pbGuns[3][0], 99999);
				GiveDodWeapon(playerid, pbGuns[4][0], 99999);
				GiveDodWeapon(playerid, pbGuns[5][0], 99999);
				GiveDodWeapon(playerid, pbGuns[6][0], 99999);
			}
			SetCameraBehindPlayer(playerid);
	    }
	}
	return 1; // This is the line which made the error.
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)