09.03.2013, 22:17
pawn Код:
Orgsystem.pwn(329) : error 029: invalid expression, assumed zero
pawn Код:
CMD:setmember(playerid, params[])
{
new id;
if(gsfmember[playerid] < 2) return SendClientMessage(playerid, 0xFF000000, "You cannot use this command");
if(sscanf(params,"u", id)) return SendClientMessage(playerid, 0xFFFFFF00, "USAGE:/setmember [id]");
if(request[id] == 1) else SendClientMessage(playerid, 0xFF000000, "This player is not requesting to join your organization!");
{
SendClientMessage(id, 0x99FF0000, "~You have been made a member of Grove Street Families~");
SendClientMessage(playerid, 0x99FF0000, "Member have been set!");
gsfmember[id] = 1;
}
return 1;
}