My script got crazy
#2

Try this

pawn Код:
COMMAND:b2(playerid, params[])
{
    if(PlayerInfo[playerid][pAdminLevel] < 1) return SendClientMessage(playerid, 0x0259EAAA, "You are not admin");
    new id;
    if(sscanf(params,"u",id)) return SendClientMessage(playerid, 0x0259EAAA, "USAGE: /b2 [PlayerId/PartOfName]");
    if(!IsPlayerConnected(id) || id == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0x0259EAAA, "Player is not connected");
    {
        SendClientMessage(id, 0x0259EAAA, "hey");
    }
    return 1;
}
Reply


Messages In This Thread
My script got crazy - by bijoyekuza - 21.03.2011, 20:02
Re: My script got crazy - by xir - 21.03.2011, 20:07
Re: My script got crazy - by bijoyekuza - 21.03.2011, 20:10
Re: My script got crazy - by xir - 21.03.2011, 20:11
Re: My script got crazy - by bijoyekuza - 21.03.2011, 20:11
Re: My script got crazy - by xir - 21.03.2011, 20:13
Re: My script got crazy - by bijoyekuza - 21.03.2011, 20:14
Re: My script got crazy - by xir - 21.03.2011, 20:16
Re: My script got crazy - by -Rebel Son- - 21.03.2011, 22:47
Re: My script got crazy - by bijoyekuza - 22.03.2011, 05:07

Forum Jump:


Users browsing this thread: 1 Guest(s)