017: undefined Symbol Helpppp
#2

You were missing a closing bracket for "SKICK".

You were told in this post what to do: https://sampforum.blast.hk/showthread.php?tid=507341

pawn Code:
dcmd_Skick(playerid, params[])
{
    new nPlayer = GetClosestPlayer(playerid);
    if(sscanf(skick,7 "us[127]", id, kick)) return SendClientMessage(playerid,0xFF7800FF, "Usage: /skick [ID]");
    //if(RestrictCMD == 1) return  SendClientMessage(playerid, COLOR_RED, "You Cannot Use This Command reason:[DISABLED]");
    if(spawned[playerid] == 0) return SendClientMessage(playerid, COLOR_RED, "You Cannot Use This Command While Dead.");
    if(IsPlayerInAnyVehicle(playerid)) return  SendClientMessage(playerid,COLOR_RED,"You Cannot Use This Command While In A Vehicle.");
    if(spawned[nPlayer] == 0) return SendClientMessage(playerid, COLOR_RED, "You Cannot Kick A Dead Body.");
    //if(OnDuty[nPlayer] == 1) return SendClientMessage(playerid, COLOR_RED, "You cannot use this command on an admin on duty");
    //if(IsInChallenge[playerid] == 1) return SendClientMessage(playerid, COLOR_RED, "You cannot rape in a challenge. You can take drugs and use /ad.");
    if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_RED,"Error: You cannot use this command in a vehicle.");
    //if(IsSpecing[nPlayer] == 1) return SendClientMessage(playerid, COLOR_RED, "Nobody close enough to Kick.");
    //if(duel[nPlayer] == 1) return SendClientMessage(playerid, COLOR_RED, "you cannot kick in duel area");
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid,x,y,z);
    if(kick[playerid] == 1) return SendClientMessage(playerid,COLOR_RED,"Error: Please wait before Kicking again.");

    if(IsPlayerInRangeOfPoint(nPlayer,6.0,x,y,z))
    {
        OnPlayerConnect:SendClientMessage:Welcome To DM
        if(aduty[nPlayer] == 1) return SCM(playerid, COLOR_RED,"You can't use this command on onduty admin.");
        //if(pInfo[nPlayer][Adminlevel] > 1) return SendClientMessage(playerid, COLOR_RED, ""ERROR_MESSAGE"");
        if(IsPlayerInAnyVehicle(nPlayer)) return SendClientMessage(playerid,COLOR_RED,"Error: The nearest player is in a vehicle.");
        kick[playerid] =1;
        gnstwall_injured[playerid] = SetTimerEx("gnstwall_injurd", 4.0, 1, 0, 0, 0, 0);

        switch(random(10))
    }
    return 1;
}
Reply


Messages In This Thread
017: undefined Symbol Helpppp - by Robber7 - 17.04.2014, 08:14
Re: 017: undefined Symbol Helpppp - by Firewire - 17.04.2014, 08:17
Re: 017: undefined Symbol Helpppp - by Robber7 - 17.04.2014, 08:23
Re: 017: undefined Symbol Helpppp - by ChandraLouis - 17.04.2014, 08:30
Re: 017: undefined Symbol Helpppp - by Firewire - 17.04.2014, 08:43
Re: 017: undefined Symbol Helpppp - by Robber7 - 17.04.2014, 10:01
Re: 017: undefined Symbol Helpppp - by Robber7 - 18.04.2014, 08:01
Re: 017: undefined Symbol Helpppp - by Firewire - 18.04.2014, 08:32
Re: 017: undefined Symbol Helpppp - by Robber7 - 25.04.2014, 05:29

Forum Jump:


Users browsing this thread: 1 Guest(s)