[AJUDA] Como colocar esse sistema de helper no meu server?
#9

simples,usa sscanf:
pawn Код:
if(strcmp(cmd, "/darhelper", true) == 0)
{
new Giveid;
if(sscanf(params, "u", Giveid)) return SendClientMessage(playerid, 0xFF0000AA, "Use: /darhelper [id]");
if(Giveid == INVALID_PLAYER_ID) return 1;
PlayerInfo[Giveid][pHelper] = 1;
return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)