Warnings over here!
#1

pawn Код:
dcmd_adon(playerid,params[])
{
    #pragma unused params
    if(InAdminMode[playerid] == 1)
    {
        SendClientMessage(playerid,COLOR_ERROR,"You are already in admin mode.");
        return 1;
    }
    if(IsSpawned[playerid] != 1)
    {
        SendClientMessage(playerid,COLOR_ERROR,"You must be alive and spawned in order to go into admin mode.");
        return 1;
    }
    for(new w=0; w<13; w++)
    {
        GetPlayerWeaponData(playerid,w,PlayerWeapon[playerid][w],PlayerAmmo[playerid][w]);
    }
    InAdminMode[playerid] = Create3DTextLabel("Administrator on duty!\n*Do not Disturb*",0xF600F6FF,30.0,40.0,50.0,40.0,0); // Line 6283
    Attach3DTextLabelToPlayer(InAdminMode[playerid],playerid,0.0,0.0,0.5); // Line 6284

    SendClientMessage(playerid,COLOR_ADMIN,"You are now in admin mode. You have unlimited minigun, health and armour.");
    ResetPlayerWeapons(playerid);
    InAdminMode[playerid] =1;

    GivePlayerWeapon(playerid,38,999999);
    SetPlayerHealth(playerid,999999);
    SetPlayerArmour(playerid,999999);
    return 1;
}
Warnings:
pawn Код:
C:\Users\Bing\Desktop\Started\gamemodes\robbing.pwn(6283) : warning 213: tag mismatch
C:\Users\Bing\Desktop\Started\gamemodes\robbing.pwn(6284) : warning 213: tag mismatch
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase
Hope someone would help me,
Thanks.
Reply


Messages In This Thread
Warnings over here! - by rakshith122 - 28.01.2014, 13:35
Re: Warnings over here! - by Scrillex - 28.01.2014, 13:39
Re: Warnings over here! - by Konstantinos - 28.01.2014, 13:41
Re: Warnings over here! - by rakshith122 - 28.01.2014, 14:05
Re: Warnings over here! - by Sawalha - 28.01.2014, 14:10
Re: Warnings over here! - by Konstantinos - 28.01.2014, 14:11
Re: Warnings over here! - by rakshith122 - 28.01.2014, 14:23
Re: Warnings over here! - by Konstantinos - 28.01.2014, 14:29
Re: Warnings over here! - by rakshith122 - 28.01.2014, 14:31

Forum Jump:


Users browsing this thread: 1 Guest(s)