Jump to content
  • 0

Ajutor!!Urgent!!!


NEoNX

Question

Salutare !!

C:\Documents and Settings\Calin\My Documents\RLS\Server RLS\Server RLS\gamemodes\RLS.pwn(2284) : error 028: invalid subscript (not an array or too many subscripts): "PlayerInfo"
C:\Documents and Settings\Calin\My Documents\RLS\Server RLS\Server RLS\gamemodes\RLS.pwn(2284) : warning 215: expression has no effect
C:\Documents and Settings\Calin\My Documents\RLS\Server RLS\Server RLS\gamemodes\RLS.pwn(2284) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Calin\My Documents\RLS\Server RLS\Server RLS\gamemodes\RLS.pwn(2284) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Calin\My Documents\RLS\Server RLS\Server RLS\gamemodes\RLS.pwn(2284) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
si va arat si unde e bugul...
public OnPlayerEnterCheckpoint(playerid)
{
if(STN[playerid] == 1)
{
PlayerInfo[playerid][Coins] +=3;
PlayerInfo[playerid][Stunt] +=5;
STN[playerid] = 0;
//--------------------------------------------------------------------------//
new cpid = SetPlayerCheckpoint(playerid,2118.5864, 1483.0841, 23.4166,4.0);
if(cpid == 1)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid,"~r~Good job you win 3~g~ Coins ~n~ and 5 Stunt Points",5000,5);
}
//--------------------------------------------------------------------------//
new cpid2 = SetPlayerCheckpoint(playerid,1851.7083, 1426.3226, 15.9196,4.0);
if(cpid2 == 1)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid,"~r~Good job you win 3~g~ Coins ~n~ and 5 Stunt Points",5000,5);
}
//--------------------------------------------------------------------------//
new cpid3 = SetPlayerCheckpoint(playerid,2000.9673, 1213.1139, 17.0789,4.0);
if(cpid3 == 1)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid,"~r~Good job you win 3~g~ Coins ~n~ and 5 Stunt Points",5000,5);
}
//--------------------------------------------------------------------------//
new cpid4 = SetPlayerCheckpoint(playerid,2396.9082, 1146.4279, 33.2691,4.0);
if(cpid4 == 1)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid,"~r~Good job you win 3~g~ Coins ~n~ and 5 Stunt Points",5000,5);
}
//--------------------------------------------------------------------------//
new cpid5 = SetPlayerCheckpoint(playerid,2776.7856, 1257.4076, 16.9512,4.0);
if(cpid5 == 1)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid,"~r~Good job you win 3~g~ Coins ~n~ and 5 Stunt Points",5000,5);
}
//--------------------------------------------------------------------------//
new cpid6 = SetPlayerCheckpoint(playerid,1958.6522, 1943.2184, 22.2268,4.0);
if(cpid6 == 1)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid,"~r~Good job you win 3~g~ Coins ~n~ and 5 Stunt Points",5000,5);
}
//--------------------------------------------------------------------------//
new cpid7 = SetPlayerCheckpoint(playerid,-1389.2230, 673.6660, 2.2660,4.0);
if(cpid7 == 1)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid,"~r~Good job you win 3~g~ Coins ~n~ and 5 Stunt Points",5000,5);
}
//--------------------------------------------------------------------------//
new cpid8 = SetPlayerCheckpoint(playerid,-1952.1982, 290.1427, 47.2101,4.0);
if(cpid8 == 1)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid,"~r~Good job you win 3~g~ Coins ~n~ and 5 Stunt Points",5000,5);
}
//--------------------------------------------------------------------------//
new cpid9 = SetPlayerCheckpoint(playerid,1831.8922, -1415.0773, 28.8896,4.0);
if(cpid9 == 1)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid,"~r~Good job you win 3~g~ Coins ~n~ and 5 Stunt Points",5000,5);
}
//--------------------------------------------------------------------------//
new cpid10 = SetPlayerCheckpoint(playerid,1899.8130, -1354.7906, 22.3711,4.0);
if(cpid10 == 1)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid,"~r~Good job you win 3~g~ Coins ~n~ and 5 Stunt Points",5000,5);
}
//--------------------------------------------------------------------------//
new cpid11 = SetPlayerCheckpoint(playerid,2030.8649, -1407.1376, 22.1158,4.0);
if(cpid11 == 1)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid,"~r~Good job you win 3~g~ Coins ~n~ and 5 Stunt Points",5000,5);
}
//--------------------------------------------------------------------------//
new cpid12 = SetPlayerCheckpoint(playerid,-2046.4899, -53.8307, 46.2760,4.0);
if(cpid12 == 1)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid,"~r~Good job you win 3~g~ Coins ~n~ and 5 Stunt Points",5000,5);
}
}
return 1;
}

[move]HELP!!!![/move]

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.