SA-MP Forums Archive
Quick Error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Quick Error (/showthread.php?tid=105991)



Quick Error - retart441 - 01.11.2009

Searched for this, with the ****** search thing.
Didn't find anything helpful.

Under Onplayerdeath
Код:
Died[playerid] = 1;
Under Onplayerspawn
Код:
	if(Died[playerid] == 1);
	{
	SetPlayerInterior(playerid,0);
	SetPlayerPos(playerid,275.3505,1861.2644,8.7578,359.5790);
	Died[playerid] = 0;
	return 1;
	}
At the top since people are gonna ask if I got it.
Код:
new Died[MAX_PLAYERS];
I get this when I compile.

C:\Users\Joe\Desktop\Files\Grand Theft Auto\GTA San Andreas\gamemodes\Aura.pwn(196) : error 036: empty statement
C:\Users\Joe\Desktop\Files\Grand Theft Auto\GTA San Andreas\gamemodes\Aura.pwn(199) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Very Confused...


Re: Quick Error - bigcomfycouch - 01.11.2009

It should be this:
Код:
	if(Died[playerid] == 1)
	{
	SetPlayerInterior(playerid,0);
	SetPlayerPos(playerid,275.3505,1861.2644,8.7578);
	Died[playerid] = 0;
	return 1;
	}



Re: Quick Error - retart441 - 01.11.2009

WOW I AM A MORON.

Thats a sign that its to late to be scripting lmao =P

Thanks for the help.