C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(15741) : error 017: undefined symbol "playerid" C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(15742) : error 028: invalid subscript (not an array or too many subscripts): "cOwned" C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(15742) : error 028: invalid subscript (not an array or too many subscripts): "idcar" C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(15742) : error 017: undefined symbol "playerid" C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(15742) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.
public OnGameModeInit() { new Text3D:vehicle3Dtext[MAX_VEHICLES],vehicle_id; new idcar = GetPlayerVehicleID(playerid); vehicle3Dtext[ cOwned[idcar[playerid]][vehicle_id] ] = Create3DTextLabel(cOwned[idcar[playerid]][cOwner], COLOR_RED, 0.0, 0.0, 0.0, 50.0, 0, 1 ); Attach3DTextLabelToVehicle( vehicle3Dtext[cOwned[idcar[playerid]][vehicle_id] ] , cOwned[idcar[playerid]][vehicle_id], 0.0, 0.0, 0.0);
OnPlayerConnect
Place it under OnPlayerConnect
and Speak in English only Please. |
C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(6075) : error 028: invalid subscript (not an array or too many subscripts): "cOwned" C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(6075) : error 028: invalid subscript (not an array or too many subscripts): "idcar" C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(6075) : warning 215: expression has no effect C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(6075) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(6075) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Now my 4 Error ejected
Код:
C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(6075) : error 028: invalid subscript (not an array or too many subscripts): "cOwned" C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(6075) : error 028: invalid subscript (not an array or too many subscripts): "idcar" C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(6075) : warning 215: expression has no effect C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(6075) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(6075) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
vehicle3Dtext[ cOwned[idcar[playerid]][vehicle_id] ] = Create3DTextLabel(cOwned[idcar[playerid]][cOwner], COLOR_RED, 0.0, 0.0, 0.0, 50.0, 0, 1 );
vehicle3Dtext[cOwned[idcar[playerid][vehicle_id] = Create3DTextLabel(cOwned[idcar[playerid][cOwner], COLOR_RED, 0.0, 0.0, 0.0, 50.0, 0, 1 );
pawn Код:
|
C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(6075) : error 028: invalid subscript (not an array or too many subscripts): "cOwned" C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(6075) : error 028: invalid subscript (not an array or too many subscripts): "idcar" C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(6075) : warning 215: expression has no effect C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(6075) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Owner\Desktop\4CRP\gamemodes\4CRP.pwn(6075) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
vehicle3Dtext[cOwned[idcar[playerid][vehicle_id] = Create3DTextLabel(cOwned[idcar[playerid][cOwner], COLOR_RED, 0.0, 0.0, 0.0, 50.0, 0, 1 ); Attach3DTextLabelToVehicle( vehicle3Dtext[cOwned[idcar[playerid]][vehicle_id] ] , cOwned[idcar[playerid]][vehicle_id], 0.0, 0.0, 0.0);