Could somebody help me? - 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: Could somebody help me? (
/showthread.php?tid=175108)
Could somebody help me? -
Alphos - 08.09.2010
What does this all mean? o.o
What causes it not to work? It worked before :/
Код:
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(932) : error 017: undefined symbol "GetPlayerSpeedSpeedo"
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(942) : error 017: undefined symbol "IsPlayerInPlane"
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(944) : error 017: undefined symbol "GetPlayerSpeedSpeedo"
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(946) : error 017: undefined symbol "GetPlayerSpeedSpeedo"
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(1013) : error 017: undefined symbol "GetPlayerSpeed"
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(1014) : error 017: undefined symbol "IsPlayerInPlane"
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(1025) : error 004: function "SendClientMessageToAdmins" is not implemented
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(1072) : error 004: function "MutePlayer" is not implemented
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(2499) : error 017: undefined symbol "CheckForLevelUpdate"
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(2592) : error 017: undefined symbol "RestoreClassWeapons"
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(2610) : error 004: function "SettingPlayerTeam" is not implemented
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(2649) : error 017: undefined symbol "RestoreClassWeapons"
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(2651) : error 017: undefined symbol "Vip"
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(2756) : error 017: undefined symbol "playeridm"
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(2756) : warning 215: expression has no effect
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(2756) : warning 215: expression has no effect
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(2756) : error 001: expected token: ";", but found ")"
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(2756) : error 029: invalid expression, assumed zero
C:\Users\Jesse\Desktop\Pawno\COD5gs\COD5.pwn(2756) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
17 Errors.
Re: Could somebody help me? -
mrcoolballs - 08.09.2010
Your missing a bracket somewhere ("{" or "}") go to where you last scripted and check that you didn't miss a bracket, it should be before line 932
Re: Could somebody help me? -
Alphos - 08.09.2010
But I don't know where :<
I can't find it.
Re: Could somebody help me? -
LarzI - 08.09.2010
You should do that easily, if you have indented your code correctly.
Re: Could somebody help me? -
Alphos - 08.09.2010
How the hell should I manage to find the place where I forgot an ''{'' or ''}''? o.O
Re: Could somebody help me? -
Mike_Peterson - 08.09.2010
errm, simple what did command/thing u scripted as last?
post it here and peps/maybe meh will fix it for you
Re: Could somebody help me? -
Alphos - 09.09.2010
I dunno, somewhere here or something?
Код:
forward SendPlayerFormattedText(playerid, const string[], define);
forward ClassShow(playerid);
public ClassShow(playerid)
{
if( gPlayerClass[playerid] == ENGINEER )
{
EngineerI[playerid] = 1;
}
if( gPlayerClass[playerid] == ADMIN ) admgod[playerid] = SetTimerEx("AdminGOD", 250, 1, "i", playerid);
if( GetPlayerMoney(playerid) < 0 ) ResetPlayerMoney(playerid);
new cstr[100];
format(cstr, 100, " ");
new classs[50];
if( gPlayerClass[playerid] == GENERAL ) format(classs, 50, "Commander");
if( gPlayerClass[playerid] == ADMIN ) format(classs, 50, "~r~Admin");
if( gPlayerClass[playerid] == SCOUT ) format(classs, 50, "Recon Pilot");
if( gPlayerClass[playerid] == PYRO ) format(classs, 50, "Operational Unit");
if( gPlayerClass[playerid] == MEDIC ) format(classs,50, "Medic");
if( gPlayerClass[playerid] == ENGINEER ) format(classs,50,"Engineer");
if( gPlayerClass[playerid] == PILOT ) format(classs,50,"Hydra Pilot");
if( gPlayerClass[playerid] == DEMOLITION ) format(classs,50,"Pilot I");
if( gPlayerClass[playerid] == ASSAULT ) format(classs,50,"Trainee Pilot");
if( gPlayerClass[playerid] == SNIPER ) format(classs,50,"Pilot II");
format(cstr, 100, "~y~%s", classs);
TextDrawHideForPlayer(playerid,Classt[playerid]);
TextDrawSetString(Classt[playerid], cstr);
TextDrawShowForPlayer(playerid,Classt[playerid]);
return 1;
}
new Float:cbx[MAX_PLAYERS], Float:cby[MAX_PLAYERS], Float:cbz[MAX_PLAYERS], Float:cba[MAX_PLAYERS];
forward ParaExit(playerid);
public ParaExit(playerid)
{
RemovePlayerFromVehicle(playerid);
GivePlayerWeapon(playerid, 46, 1);
return 1;
}
forward ExitCB(playerid);
public ExitCB(playerid)
{