05.02.2011, 14:23
pawn Код:
new id, colour, query[128];
if(sscanf(params,"ix",id,colour)) return SendClientMessage(playerid, red, "USAGE:/ocolour [id] [colour]");
format(query, sizeof(query), "UPDATE orgs SET Colour='%d' WHERE ID=%d",colour,id);
pawn Код:
ocolour[playerid]=strval(field[2]);