27.11.2016, 08:12
I work on this way,because cant on the way which you write here..But anyway thank you
This is on CMD:INVITE:
This is on forward public:
This is on CMD:INVITE:
Quote:
format(query, sizeof(query), "SELECT `ImeClana` FROM `organizacije` WHERE `Slot` = '%d' AND `ImeOrganizacije` = '%s'", slot,ImeOrganizacije(PlayerInfo[para1][Lider])); mysql_tquery(mysql, query, "ProveriSlot", "i", playerid); |
Quote:
forward ProveriSlot(playerid); public ProveriSlot(playerid) { new clanime[50], nikoopet[MAX_PLAYER_NAME] = "NIKO"; cache_get_field_content(0, "ImeClana", clanime); SlotPrazan[playerid] = 1; if(strcmp(clanime,nikoopet)) return SCM(playerid, -1, ""CRVENA"[SA:RP]:"BELA"Neko se vec nalazi na slotu!"),SlotPrazan[playerid] = 0; return 1; } |