31.05.2015, 12:01
Код:
YCMD:createbiz(playerid, params[], help) { new Float:X, Float:Y, Float:Z; if(PlayerInfo[playerid][pAdmin] < 6) return SendClientMessage(playerid, COLOR_ORANGERED,"** {C0C0C0}You Cant Use This Command."); new firmaid,vrsta,cena,lvl,ffirma[80],string[512]; GetPlayerPos(playerid, X,Y,Z); if(sscanf(params, "ii", firmaid,vrsta, lvl , cena)) { SCM(playerid, -1, "CP Help | "SPLAVA"/createbusiness [id] [species] [level] [price]"); SCM(playerid, -1, "Types of Companies | "SPLAVA"0: Market | 1: Market | 2: Burg"); SCM(playerid, -1, "Types of Companies | "SPLAVA"3: Cluckin Bell | 4: Pizza | 5: Pig Pen"); SCM(playerid, -1, "Types of Companies | "SPLAVA"6: Bar | 7: Gym | 8: Sex Shop | 9: Binco"); SCM(playerid, -1, "Types of Companies | "SPLAVA"10: Gun Shop | 11: Disco | 12: Restoran"); SCM(playerid, -1, "Types of Companies | "SPLAVA"13: Zip | 14: Victim | 15: Suburban"); SCM(playerid, -1, "Types of Companies | "SPLAVA"16: Night Club | 17: Elite Restoran | 18: Gun Shop 2"); SCM(playerid, -1, "Types of Companies | "SPLAVA"19: Barber | 20: Casino | 21: S biznis"); } return 1; }