THIS IS A BIT WERID!
#1

i get one warnign but it still works i made a cmd /bomb and on timer dose this

Код:
public BombTimer(playerid)
{
	CreateExplosion(BombX[playerid], BombY[playerid], BombZ[playerid], 11, 10);
	CreateExplosion(BombX[playerid], BombY[playerid], BombZ[playerid]+2, 10);
	SendClientMessage(playerid, COLOR_GREY, "Bomb Detonated.");
	DestroyStreamedObject(BombObject[playerid]);
	BombArmed[playerid] = false;
	return 1;
it give me one warning but it works fine but if i have it like this.

Код:
C:\Documents and Settings\marcus\My Documents\marcus server\gamemodes\shady.pwn(1863) : warning 202: number of arguments does not match definition
but if like this i get no warnings?
Код:
public BombTimer(playerid)
{
	CreateExplosion(BombX[playerid], BombY[playerid], BombZ[playerid], 11, 10);
	SendClientMessage(playerid, COLOR_GREY, "Bomb Detonated.");
	DestroyStreamedObject(BombObject[playerid]);
	BombArmed[playerid] = false;

	return 1;
Reply
#2

Код:
public BombTimer(playerid)
{
	CreateExplosion(BombX[playerid], BombY[playerid], BombZ[playerid], 11, 10);
	CreateExplosion(BombX[playerid], BombY[playerid], BombZ[playerid]+2, 11, 10);
	SendClientMessage(playerid, COLOR_GREY, "Bomb Detonated.");
	DestroyStreamedObject(BombObject[playerid]);
	BombArmed[playerid] = false;
	return 1;
}
Reply
#3

lol cheers mate
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)