C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma5.pwn(421) : error 012: invalid function call, not a valid address
C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma5.pwn(421) : warning 215: expression has no effect
C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma5.pwn(421) : error 001: expected token: ";", but found ")"
C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma5.pwn(421) : error 029: invalid expression, assumed zero
C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma5.pwn(421) : fatal error 107: too many error messages on one line
function StartMap()
{
ClearChat();
foreach(Player,i)
{
SetCameraBehindPlayer(i);
ClearAnimations(i);
HumanSetup(i);
SpawnPlayer(i);
CurePlayer(i);
SetPlayerDrunkLevel(i,0);
DisablePlayerCheckpoint(i);
pInfo[i][Boxes] = 2;
pInfo[i][BoxesAdvanced] = 10;
pInfo[i][SkinChanges] = 2;
pInfo[i][ArmourChanges] = 2;
pInfo[i][pVipBoxes] = 35;
pInfo[i][pLadders] = 2;
pInfo[i][pFakeKills] = 0;
pInfo[i][pAmmoBoxes] = 10;
pInfo[i][C4] = 4;
pInfo[i][pTrapMasterTrap] = 1;
pInfo[i][pScientistCure] = 1;
pInfo[i][pDoctorShield] = 1;
pInfo[i][pMapsPlayed]++;
TextDrawHideForPlayer(i, ServerIntroOne[i]);
TextDrawHideForPlayer(i, ServerIntroTwo[i]);
DestroyPickup(meatDrops[i]);
DestroyPickup(ammoDrops[i]);
DestroyObject(DocShield);
DestroyObject(Trap);
TogglePlayerControllable(i,1);
}
new CurePlayer;
new ChangeCameraView;
new CreateEvacMaps;
new IsValidWeapon;
new DoctorShield;
new TrapMasterTrap;
new CheckToStartMap;
new sendClassMessage;
new SpawnVars;
new SendPlayerMaxAmmo;
new InfectPlayerStandard;
new hideTextdrawsAfterConnect;
new CheckToLevelOrRankUp;
new InfectPlayerMutated;
new GetAdminName;
C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(413) : error 017: undefined symbol "CurePlayer" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(466) : error 017: undefined symbol "ChangeCameraView" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(494) : error 017: undefined symbol "CreateEvacMaps" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(536) : error 017: undefined symbol "CurePlayer" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(550) : error 017: undefined symbol "CurePlayer" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(564) : error 017: undefined symbol "CurePlayer" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(57 : error 017: undefined symbol "CurePlayer" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(622) : error 017: undefined symbol "IsValidWeapon" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(742) : error 017: undefined symbol "DoctorShield" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(743) : error 017: undefined symbol "TrapMasterTrap" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(981) : error 017: undefined symbol "CheckToStartMap" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(1009) : error 017: undefined symbol "sendClassMessage" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(1011) : error 017: undefined symbol "SpawnVars" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(1355) : error 017: undefined symbol "SendPlayerMaxAmmo" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(1594) : error 017: undefined symbol "CurePlayer" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(1740) : error 017: undefined symbol "InfectPlayerStandard" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(1794) : error 017: undefined symbol "hideTextdrawsAfterConnect" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(1795) : error 017: undefined symbol "CheckToLevelOrRankUp" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(260 : error 017: undefined symbol "InfectPlayerStandard" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(274 : error 017: undefined symbol "CurePlayer" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(2899) : error 017: undefined symbol "InfectPlayerStandard" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(2942) : error 017: undefined symbol "InfectPlayerMutated" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(2985) : error 012: invalid function call, not a valid address C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(2985) : warning 215: expression has no effect C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(2985) : error 001: expected token: ";", but found ")" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(2985) : error 029: invalid expression, assumed zero C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(2985) : fatal error 107: too many error messages on one line |
C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(42 : error 012: invalid function call, not a valid address C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(42 : warning 215: expression has no effect C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(42 : error 001: expected token: ";", but found ")" C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(42 : error 029: invalid expression, assumed zero C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma 5.pwn(42 : fatal error 107: too many error messages on one line |
stock CurePlayer(playerid)
{
return SetPlayerHealth(playerid, 100);
}
CurePlayer() and the others are user created functions.
Adding new will not solve this problem. Try creating or searching for these functions and then add them to the script. For example: pawn Код:
|
stock CurePlayer(playerid)
{
if(pInfo[playerid][IsPlayerInfected] == 1)
{
KillTimer(pInfo[playerid][IsPlayerInfectedTimer]);
pInfo[playerid][IsPlayerInfected] = 0;
SetPlayerColor(playerid,COLOR_HUMAN);
ApplyAnimation(playerid,"MEDIC","CPR",4.1,0,1,1,1,1);
SetPlayerDrunkLevel(playerid,0);
TextDrawHideForPlayer(playerid,Infected[playerid]);
}
return 1;
}