Everything Looks ok??
#1

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.

Reply
#2

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)