help me with this script
#8

As error in:
Quote:
Код:
C:\Users\JUSTIN\Documents\GTAhh\server\pawno\include\YSI\y_va/impl.inc(538) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\JUSTIN\Documents\GTAhh\server\pawno\include\YSI\y_va/impl.inc(538) : warning 219: local variable "y" shadows a variable at a preceding level
C:\Users\JUSTIN\Documents\GTAhh\server\pawno\include\YSI\y_va/impl.inc(543) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\JUSTIN\Documents\GTAhh\server\pawno\include\YSI\y_va/impl.inc(543) : warning 219: local variable "y" shadows a variable at a preceding level
C:\Users\JUSTIN\Documents\GTAhh\server\pawno\include\YSI\y_inline.inc(606) : warning 219: local variable "y" shadows a variable at a preceding level
C:\Users\JUSTIN\Desktop\Linux Version [0.3z]\gamemodes\zma5.pwn(418) : error 012: invalid function call, not a valid address
C:\Users\JUSTIN\Desktop\Linux Version [0.3z]\gamemodes\zma5.pwn(418) : error 029: invalid expression, assumed zero
C:\Users\JUSTIN\Desktop\Linux Version [0.3z]\gamemodes\zma5.pwn(418) : warning 215: expression has no effect
C:\Users\JUSTIN\Desktop\Linux Version [0.3z]\gamemodes\zma5.pwn(423) : error 012: invalid function call, not a valid address
C:\Users\JUSTIN\Desktop\Linux Version [0.3z]\gamemodes\zma5.pwn(423) : warning 215: expression has no effect
C:\Users\JUSTIN\Desktop\Linux Version [0.3z]\gamemodes\zma5.pwn(423) : error 001: expected token: ";", but found ")"
C:\Users\JUSTIN\Desktop\Linux Version [0.3z]\gamemodes\zma5.pwn(423) : error 029: invalid expression, assumed zero
C:\Users\JUSTIN\Desktop\Linux Version [0.3z]\gamemodes\zma5.pwn(423) : fatal error 107: too many error messages on one line
Line 418 and 423 is included
PHP код:
(404ClearChat();
(
405)foreach(Player,i)
(
406)    {
(
407)        SetCameraBehindPlayer(i);
(
408)        ClearAnimations(i);
(
409)        HumanSetup(i);
(
410)        SpawnPlayer(i);
(
411)        CurePlayer(i);
(
412)        SetPlayerDrunkLevel(i,0);
(
413)        DisablePlayerCheckpoint(i);
(
414)        pInfo[i][Boxes] = 2;
(
415)        pInfo[i][BoxesAdvanced] = 10;
(
416)        pInfo[i][SkinChanges] = 2;
(
417)        pInfo[i][ArmourChanges] = 2;
(
418)        pInfo[i][pVipBoxes] = 35;
(
419)        pInfo[i][pLadders] = 2;
(
420)        pInfo[i][pFakeKills] = 0;
(
421)        pInfo[i][pAmmoBoxes] = 10;
(
422)        pInfo[i][C4] = 4;
(
423)        pInfo[i][pTrapMasterTrap] = 1;
(
424)        pInfo[i][pScientistCure] = 1;
(
425)        pInfo[i][pDoctorShield] = 1;
(
426)        pInfo[i][pMapsPlayed]++;
(
427)        TextDrawHideForPlayer(iServerIntroOne[i]);
(
428)        TextDrawHideForPlayer(iServerIntroTwo[i]);
(
429)        DestroyPickup(meatDrops[i]);
(
430)        DestroyPickup(ammoDrops[i]);
(
431)        DestroyObject(DocShield);
(
432)        DestroyObject(Trap);
(
433)        TogglePlayerControllable(i,1);
    } 
Line 538 and 543 is included
PHP код:
        new string[256];
        if(
Map[EvacType] == 1)
        {
            
SetPlayerInterior(playerid,0);
            
SetPlayerPos(playerid,-1408.2051,-970.8841,198.9738);
            
format(string,sizeof(string), ""chat""COL_LIGHTBLUE" %s made it to evacuation point and has received 1 coin!",PlayerName(playerid));
            
SendClientMessageToAll(-1,string);
            
DisablePlayerCheckpoint(playerid);
            
CurePlayer(playerid);
            
GivePlayerXP(playerid,50);
            
pInfo[playerid][pEvac]++;
            
pInfo[playerid][pCoins]++;
(
538)            SetPlayerColor(playerid,COLOR_YELLOW);
        }
        if(
Map[EvacType] == 2)
        {
(
543)            SetPlayerPos(playerid,3024.4983,447.9744,14.7813);
            
SetPlayerInterior(playerid,0);
            
format(string,sizeof(string), ""chat""COL_LIGHTBLUE" %s made it to the water evacuation point and has received 1 coin!",PlayerName(playerid));
            
SendClientMessageToAll(-1,string);
            
DisablePlayerCheckpoint(playerid);
            
CurePlayer(playerid);
            
GivePlayerXP(playerid,50);
            
pInfo[playerid][pEvac]++;
            
pInfo[playerid][pCoins]++;
            
SetPlayerColor(playerid,COLOR_YELLOW);
        } 
And Line 606:
PHP код:
    if(team[playerid] == TEAM_HUMAN)
    {
        if(
pInfo[playerid][pHumanClass] == ENGINEER || pInfo[playerid][pHumanClass] == ADVANCEDENGINEER || pInfo[playerid][pHumanClass] == VIPENGINEER || pInfo[playerid][pHumanClass] == E_ENGINEER || pInfo[playerid][pHumanClass] == TRAPMASTER || pInfo[playerid][pHumanClass] == BOMBER)
        {
            switch(
pInfo[playerid][pHumanClass])
            {
                case 
ENGINEERpInfo[playerid][Boxes]++,GameTextForPlayer(playerid,"~g~Found~w~: 1 Box",4000,5),DestroyPickup(meatDrops[playerid]);
                case 
ADVANCEDENGINEERpInfo[playerid][BoxesAdvanced] += 2,GameTextForPlayer(playerid,"~g~Found~w~: 2 Boxes",4000,5),DestroyPickup(meatDrops[playerid]);
(
606)            case VIPENGINEERpInfo[playerid][pVipBoxes] += 3,GameTextForPlayer(playerid,"~g~Found~w~: 3 Boxes",4000,5),DestroyPickup(meatDrops[playerid]);
                case 
E_ENGINEERpInfo[playerid][pLadders] += 1,GameTextForPlayer(playerid,"~g~Found~w~: 1 Ladders",4000,5),DestroyPickup(meatDrops[playerid]);
                case 
TRAPMASTERpInfo[playerid][pTrapMasterTrap] += 1,GameTextForPlayer(playerid,"~g~Found~w~: 1 trap",4000,5),DestroyPickup(meatDrops[playerid]);
                case 
BOMBERpInfo[playerid][pXP] += 10,GameTextForPlayer(playerid,"~g~Found~w~: 10 xp",4000,5),DestroyPickup(meatDrops[playerid]);
            }
        } 
Reply


Messages In This Thread
help me with this script - by XGreen - 20.07.2014, 06:13
Re: help me with this script - by GeekSiMo - 20.07.2014, 06:40
Re: help me with this script - by XGreen - 20.07.2014, 06:50
Re: help me with this script - by XGreen - 20.07.2014, 06:55
Re: help me with this script - by GeekSiMo - 20.07.2014, 07:06
Re: help me with this script - by XGreen - 20.07.2014, 07:13
Re: help me with this script - by XGreen - 20.07.2014, 08:24
Re: help me with this script - by XGreen - 20.07.2014, 09:19
Re: help me with this script - by ikey07 - 20.07.2014, 09:24
Re: help me with this script - by XGreen - 20.07.2014, 09:35

Forum Jump:


Users browsing this thread: 1 Guest(s)