Quick Error
#1

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...
Reply
#2

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

WOW I AM A MORON.

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

Thanks for the help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)