15.06.2014, 01:49
The code is there, i just didnt show it because i don't think it is necessary.
All i wonder is why is it getting my information on the textdraw and not the player being specced.
pawn Код:
CMD:spec(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, 0xFFFFFFAA, "{627D80}Error: You are not allowed to use this.");
new id;
if(sscanf(params, "d", id)) return SendClientMessage(playerid, 0xFFFFFFAA, "{627D80}Usage: /spec <ID>.");
if(!IsPlayerConnected(id)) return SendClientMessage(playerid, 0xFFFFFFAA, "{627D80}That player is not connected!");