How i can fix this errors - 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: How i can fix this errors (
/showthread.php?tid=153162)
How i can fix this errors -
Lauren - 07.06.2010
Help me with this errors , i don't know how repair ....
Код:
C:\Documents and Settings\Laur\Desktop\pawno\include\Double-O-Pickups.inc(4) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
C:\Documents and Settings\Laur\Desktop\new.pwn(21168) : warning 217: loose indentation
C:\Documents and Settings\Laur\Desktop\new.pwn(21355) : warning 217: loose indentation
C:\Documents and Settings\Laur\Desktop\new.pwn(36188) : error 004: function "NameTimer" is not implemented
C:\Documents and Settings\Laur\Desktop\new.pwn(38989) : error 021: symbol already defined: "OnPlayerPickUpPickup"
C:\Documents and Settings\Laur\Desktop\new.pwn(39789) : warning 203: symbol is never used: "DOP_OnGameModeInit"
C:\Documents and Settings\Laur\Desktop\new.pwn(39789) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
C:\Documents and Settings\Laur\Desktop\new.pwn(39789) : warning 203: symbol is never used: "PlayerKick"
C:\Documents and Settings\Laur\Desktop\new.pwn(39789) : warning 203: symbol is never used: "PlayerWarn"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
there are lines
21168 =
Код:
if(strcmp(cmd, "/sbannneqwd", true) == 0)
21355 =
Код:
if(strcmp(cmd, "/unfreeze", true) == 0)
36188 =
38989 = Here is more linies .. .
Код:
public SendLeaderMessage(color, string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pLeader] >= 1)
{
SendClientMessage(i, color, string);
}
}
}
}
public OnPlayerPickUpPickup(playerid,pickupid)
{
// Factiuni
if(pickupid == Fac5_1)
{
SetPlayerPos(playerid, 1129.7604,-2036.6702,69.0078);
SetPlayerInterior(playerid, 0);
}
if(pickupid == Fac5_2)
{
SetPlayerPos(playerid, 1726.4905,-1643.8296,20.2259);
SetPlayerInterior(playerid, 18);
}
if(pickupid == Fac6_1)
39789 =
Код:
// Copyright © 2009-2010 //
Re: My new gm error.... -
Conroy - 07.06.2010
Make sure you haven't declared MAX_PICKUPS twice.
Loose indentations are easily sorted, just put them in the correct position.
Never heard about 'function "NameTimer" is not implemented', maybe someone else can help you.
You must have two OnPlayerPickupPickup's, you should only have one, so merge them together.
Rest are pretty self explanatory.