- 0
[GS] Gireada Problem
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
horke1
Man hai sal am o problema cu fs tau de create clan vreau sa fac comanda creategang se ceara max 10 litere nu 10
CMD:creategang(playerid, params[]) { new GangName2[10],day,month,year,file[256],string[256]; if(unformat(params, "s[10]", GangName2)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /creategang <name>(MAX 10)"); if(PlayerInfo[playerid][GangID] > 0) return SendClientMessage(playerid, 0xFF0000AA, "You aleardy have a gang."); for(new i=1;i<=MAX_GANGS;i++) { format(file, sizeof(file), "Gangs/%i.ini",i); if(!dini_Exists(file)) { getdate(year, month, day); CreateGang(i,GangName2, PlayerName(playerid), day, month, year, "0xFFFFFFFF"); PlayerInfo[playerid][GangID] = i; PlayerInfo[playerid][GangRank] = 6; format(PlayerInfo[playerid][GangName], 10, GangName2);break; } } format(string, sizeof(string), "You have create gang %s",GangName2); SendClientMessage(playerid, 0xFF0000AA, string); return 1; }+ am erorile aste cand il pornesc
Uploaded with ImageShack.us
5 answers to this question
Recommended Posts