SA-MP Forums Archive
Everything Looks ok?? - 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: Everything Looks ok?? (/showthread.php?tid=73306)



Everything Looks ok?? - Quincy_Gatlin - 13.04.2009

Quote:

sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
TogglePlayerControllable(playerid, 0);
GetPlayerPos(playerid, Unspec[playerid][sPx], Unspec[playerid][sPy], Unspec[playerid][sPz]);
Unspec[playerid][sPint] = PlayerInfo[playerid][pInt];
Unspec[playerid][sLocal] = PlayerInfo[playerid][pLocal];
SetPlayerPos(playerid,1527.5,-12.1,1002.0);
PlayerInfo[playerid][pLocal] = 255;
SetPlayerInterior(playerid,99);
Spectate[playerid] = 257;
SetPlayerArmour(playerid, 100.0);
}
(9092>>) }

Errors:
Quote:

C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\mtrp-final.pwn(9092) : error 012: invalid function call, not a valid address
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\mtrp-final.pwn(9092) : warning 215: expression has no effect
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\mtrp-final.pwn(9092) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\mtrp-final.pwn(9092) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\mtrp-final.pwn(9092) : fatal error 107: too many error messages on one line

What is wrong with it? Please.




Re: Everything Looks ok?? - fallen - 14.04.2009

yeah it says
invalid function call, not a valid address
expression has no effect
invalid expression, assumed zero

which pretty much means you dont need it i guess

i would try deleting line 9092, the extra bracket, or putting in another opening instead of the ; at the top. deleting would be easier imo though