xxSPEEDYxx
Membru-
Posts
1,614 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
News
Documentation
Everything posted by xxSPEEDYxx
-
salls din nou :tongue:....ce functie are asta???"arg1"??
-
aha...ms da eu miam fakt comanda numai ca nu stiu de unde aflu zona de acoperire?
-
sall all...cum as putea sa fac acolo unde ii spawn zone sa scrii /healme sau /hm si sa-ti dea viata...dar numai acolo unde ii spawn zone??
-
da da cum fac ca am pus asa: if(dialogid==stunts) { if(response) { ShowPlayerDialog(playerid,stuntss,DIALOG_STYLE_MSGBOX,"Stunts Teles Page2","{FFFFFF}[trampolinewda] [RO]","OK",""); Roman[playerid]= 1; }else { ShowPlayerDialog(playerid,stuntsss,DIALOG_STYLE_MSGBOX,"Pagina De Teles Stunt2","{FFFFFF}[New City]\n /nc....etc!","OK",""); Roman[playerid] = 0; } } si nu merge...HELP PLS
-
Am facut un dialog cu MSGBOX: if (strcmp("/stunt", cmdtext, true)==0) { if(Roman[playerid] == 0) { ShowPlayerDialog(playerid,stunts,DIALOG_STYLE_MSGBOX,"{FF9900}Stunt","{FFFFFF}[MonsterCrash]:\n /mc\n[Stunt Places]:\n /stunt1[1-20]\n[Stunt Crome]:\n /sc\n[Stunt Jizzy]:\n /SJ\n[Stunt Golf]:\n /sg\n[MultiParkour]:\n /mpk\n[Pipe Stunt]:\n /pipe\n[San Fierro Airport]:\n /sfair\n[Abandoned Airport]:\n /aa\n[Las Venturas Airport]\n /lvair\n[Los Santos Airport]:\n /lsair\n[Monster Crash2]:\n /mc2\n[Monster Crash3]:\n /mc3\n[Plaja Stunt]:\n /plaja","NeXt","Cancel"); } if(Roman[playerid] == 1) { ShowPlayerDialog(playerid,stunts,DIALOG_STYLE_MSGBOX,"{FF9900}Stunt","{FFFFFF}[MonsterCrash]:\n /mc\n[Stunt Places]:\n /stunt1[1-20]\n[Stunt Crome]:\n /sc\n[Stunt Jizzy]:\n /SJ\n[Stunt Golf]:\n /sg\n[MultiParkour]:\n /mpk\n[Pipe Stunt]:\n /pipe\n[San Fierro Airport]:\n /sfair\n[Abandoned Airport]:\n /aa\n[Las Venturas Airport]\n /lvair\n[Los Santos Airport]:\n /lsair\n[Monster Crash2]:\n /mc2\n[Monster Crash3]:\n /mc3\n[Beach Stunt]:\n /beach","NeXt","Cancel"); } return 1; } si cum fac daca playeru apasa pe butonul "next"sa ii apara o alta pagina cu teles stunts...ca nu incap toate aici....???
-
sami bag p**a:))) chiat vroiam sa postez chair akm systemu meu de coins:)) oricum gj 5/5;)
-
salls alls....as avea si eu o intrebare...am ceva program de restart la server... cand dau restart imi scrie "Server closed rthe conection" as vrea sa-mi scrie "server restartig"sau ceva de genu..sa nu mai ies si sa intru din nou... pls..help
-
StuntMan adaugama pe mess tiam dat id meu prin pm:P
-
deci am facut asa: new TipRandMessages[][] = { if(Roman[playerid] == 0) { "{E60000}[Stunt Announcer]-> {33CCFF}Viziteaza situ nostru {E60000}www.rdu-romania.tk", "{E60000}[Stunt Announcer]-> {33CCFF}Adauga la {E60000}Favourites {33CCFF}Serverul,astfel vei putea juca mereu pe el!", "{E60000}[Stunt Announcer]-> {33CCFF}Respecta regulile daca nu vrei sa primesti {E60000}ban/kick!", "{E60000}[Stunt Announcer]-> {33CCFF}Scrie {E60000}/bboysteles {33CCFF}sau {E60000}/newteles {33CCFF}pentru a vedea teleporturile noi de pe server!!!", "{E60000}[Stunt Announcer]-> {33CCFF}Nu milogi admini pe server sa-ti dea Admin, viziteaza situ nostru {E60000}www.rdu-romania.tk {33CCFF}si fa cerere!", "{E60000}[Stunt Announcer]-> {33CCFF}Tasteaza {E60000}/v {33CCFF}pentru a-ti alege o masina!", "{E60000}[Stunt Announcer]-> {33CCFF}Foloseste {E60000}/ro {33CCFF}daca esti român sau {E60000}/eng {33CCFF}if you are English.", "{E60000}[Stunt Announcer]-> {33CCFF}Scrie {E60000}/teles {33CCFF}pentru a vedea teleporturile de pe server!!!", "{E60000}[Stunt Announcer]-> {33CCFF}Folosete {E60000}/car [nume] {33CCFF}pentru a-ti alege un vehicul particular", "{E60000}[Stunt Announcer]-> {33CCFF}Viziteaza situ nostru {E60000}www.rdu-romania.tk", "{E60000}[Stunt Announcer]-> {33CCFF}Viziteaza rubrica cu {E60000}/rules {33CCFF}pentru a citi regulile serverului!", "{E60000}[Stunt Announcer]-> {33CCFF}Iti place pe acest server ? Adaugal la {E60000}Favorites!!", "{E60000}[Stunt Announcer]-> {33CCFF}Uitate la {E60000}/Credits {33CCFF}ca sa vezi Creatorii serverului! ", "{E60000}[Stunt Announcer]-> {33CCFF}Scrie {E60000}/Bweapon , /Barme {33CCFF}pentru arme mari!", "{E60000}[Stunt Announcer]-> {33CCFF}Scrie {E60000}/sex {33CCFF}pentru a face sex cu cineva !", "{E60000}[Stunt Announcer]-> {33CCFF}Scrie {E60000}/masina {33CCFF}pentru a vedea proprietatile masinii!!", "{E60000}[Stunt Announcer]-> {33CCFF}Scrie {E60000}/Credits {33CCFF}pentru a vedea Creatorii Serverului", "{E60000}[Stunt Announcer]-> {33CCFF}Tasteaza {E60000}/repair {33CCFF}sau apasa {E60000}2 {33CCFF}pentru a-ti repara masina!", "{E60000}[Stunt Announcer]-> {33CCFF}Acest server are si case care se gasesc in {E60000}Las Venturas {E60000}Los Santos {33CCFF}si {E60000}San Fiero!", "{E60000}[Stunt Announcer]-> {33CCFF}Poate doresti o proprietate numai a ta din care sa castigi bani ea e un dollar {E60000}verde {33CCFF}pe harta!!", "{E60000}[Stunt Announcer]-> {33CCFF}Foloseste {E60000}/arme {33CCFF}({E60000}/sweaps {33CCFF}sau {E60000}/sarme {33CCFF}pentru mai mult)!", "{E60000}[Stunt Announcer]-> {33CCFF}Foloseste {E60000}/ad {33CCFF}pentru a da un anunt la {E60000}radio! {E60000}Nu folosi {E60000}/ad {E60000}gresit sau vei primi kick de la un admin", "{E60000}[Stunt Announcer]-> {33CCFF}Scrie {E60000}/givecash [id][suma] {33CCFF}pentru a da bani cuiva!", "{E60000}[Stunt Announcer]-> {33CCFF}Scrie {E60000}/tune {33CCFF}pentru a-ti tuna masina sau {E60000}/tc1 {E60000}/tc2 {E60000}/tc3!", "{E60000}[Stunt Announcer]-> {33CCFF}Foloseste {E60000}/gps [ID] {33CCFF}pentru a gasi jucatorul pe care il caut!", "{E60000}[Stunt Announcer]-> {33CCFF}Iti place sa sari pe o {E60000}rampa ? {33CCFF}Scrie {E60000}/rampon {33CCFF}sa o activezi si {E60000}/rampoff {33CCFF}sa o dezactivezi!!", "{E60000}[Stunt Announcer]-> {33CCFF}Tasteaza {E60000}/animlist {33CCFF}pentru o lista de animatii!", "{E60000}[Stunt Announcer]-> {33CCFF}Viziteaza situ nostru {E60000}www.rdu-romania.tk", "{E60000}[Stunt Announcer]-> {33CCFF}Doresti sa ai propia ta motoreta ? Scrie {E60000}/nrg {33CCFF}pentru a o chema mereu!!", "{E60000}[Stunt Announcer]-> {33CCFF}Uitate la {E60000}/Credits {33CCFF}ca sa vezi creatorii serverului!", "{E60000}[Stunt Announcer]-> {33CCFF}Nu-ti place skinul ? Scrie {E60000}/skin [skinid] {33CCFF}si schimba-l.", "{E60000}[Stunt Announcer]-> {33CCFF}Daca esti un fumator cu mare tupeu scrie {E60000}/fumez.", "{E60000}[Stunt Announcer]-> {33CCFF}Viziteaza rubrica cu {E60000}/rules {33CCFF}pentru a citi regulile serverului!" } if(Roman[playerid] == 1) { "{E60000}[Stunt Announcer]-> {33CCFF}Viziteaza situ nostru {E60000}www.rdu-romania.tk", "{E60000}[Stunt Announcer]-> {33CCFF}Adauga la {E60000}Favourites {33CCFF}Serverul,astfel vei putea juca mereu pe el!", "{E60000}[Stunt Announcer]-> {33CCFF}Respecta regulile daca nu vrei sa primesti {E60000}ban/kick!", "{E60000}[Stunt Announcer]-> {33CCFF}Scrie {E60000}/bboysteles {33CCFF}sau {E60000}/newteles {33CCFF}pentru a vedea teleporturile noi de pe server!!!", "{E60000}[Stunt Announcer]-> {33CCFF}Nu milogi admini pe server sa-ti dea Admin, viziteaza situ nostru {E60000}www.rdu-romania.tk {33CCFF}si fa cerere!", "{E60000}[Stunt Announcer]-> {33CCFF}Tasteaza {E60000}/v {33CCFF}pentru a-ti alege o masina!", "{E60000}[Stunt Announcer]-> {33CCFF}Foloseste {E60000}/ro {33CCFF}daca esti român sau {E60000}/eng {33CCFF}if you are English.", "{E60000}[Stunt Announcer]-> {33CCFF}Scrie {E60000}/teles {33CCFF}pentru a vedea teleporturile de pe server!!!", "{E60000}[Stunt Announcer]-> {33CCFF}Folosete {E60000}/car [nume] {33CCFF}pentru a-ti alege un vehicul particular", "{E60000}[Stunt Announcer]-> {33CCFF}Viziteaza situ nostru {E60000}www.rdu-romania.tk", "{E60000}[Stunt Announcer]-> {33CCFF}Viziteaza rubrica cu {E60000}/rules {33CCFF}pentru a citi regulile serverului!", "{E60000}[Stunt Announcer]-> {33CCFF}Iti place pe acest server ? Adaugal la {E60000}Favorites!!", "{E60000}[Stunt Announcer]-> {33CCFF}Uitate la {E60000}/Credits {33CCFF}ca sa vezi Creatorii serverului! ", "{E60000}[Stunt Announcer]-> {33CCFF}Scrie {E60000}/Bweapon , /Barme {33CCFF}pentru arme mari!", "{E60000}[Stunt Announcer]-> {33CCFF}Scrie {E60000}/sex {33CCFF}pentru a face sex cu cineva !", "{E60000}[Stunt Announcer]-> {33CCFF}Scrie {E60000}/masina {33CCFF}pentru a vedea proprietatile masinii!!", "{E60000}[Stunt Announcer]-> {33CCFF}Scrie {E60000}/Credits {33CCFF}pentru a vedea Creatorii Serverului", "{E60000}[Stunt Announcer]-> {33CCFF}Tasteaza {E60000}/repair {33CCFF}sau apasa {E60000}2 {33CCFF}pentru a-ti repara masina!", "{E60000}[Stunt Announcer]-> {33CCFF}Acest server are si case care se gasesc in {E60000}Las Venturas {E60000}Los Santos {33CCFF}si {E60000}San Fiero!", "{E60000}[Stunt Announcer]-> {33CCFF}Poate doresti o proprietate numai a ta din care sa castigi bani ea e un dollar {E60000}verde {33CCFF}pe harta!!", "{E60000}[Stunt Announcer]-> {33CCFF}Foloseste {E60000}/arme {33CCFF}({E60000}/sweaps {33CCFF}sau {E60000}/sarme {33CCFF}pentru mai mult)!", "{E60000}[Stunt Announcer]-> {33CCFF}Foloseste {E60000}/ad {33CCFF}pentru a da un anunt la {E60000}radio! {E60000}Nu folosi {E60000}/ad {E60000}gresit sau vei primi kick de la un admin", "{E60000}[Stunt Announcer]-> {33CCFF}Scrie {E60000}/givecash [id][suma] {33CCFF}pentru a da bani cuiva!", "{E60000}[Stunt Announcer]-> {33CCFF}Scrie {E60000}/tune {33CCFF}pentru a-ti tuna masina sau {E60000}/tc1 {E60000}/tc2 {E60000}/tc3!", "{E60000}[Stunt Announcer]-> {33CCFF}Foloseste {E60000}/gps [ID] {33CCFF}pentru a gasi jucatorul pe care il caut!", "{E60000}[Stunt Announcer]-> {33CCFF}Iti place sa sari pe o {E60000}rampa ? {33CCFF}Scrie {E60000}/rampon {33CCFF}sa o activezi si {E60000}/rampoff {33CCFF}sa o dezactivezi!!", "{E60000}[Stunt Announcer]-> {33CCFF}Tasteaza {E60000}/animlist {33CCFF}pentru o lista de animatii!", "{E60000}[Stunt Announcer]-> {33CCFF}Viziteaza situ nostru {E60000}www.rdu-romania.tk", "{E60000}[Stunt Announcer]-> {33CCFF}Doresti sa ai propia ta motoreta ? Scrie {E60000}/nrg {33CCFF}pentru a o chema mereu!!", "{E60000}[Stunt Announcer]-> {33CCFF}Uitate la {E60000}/Credits {33CCFF}ca sa vezi creatorii serverului!", "{E60000}[Stunt Announcer]-> {33CCFF}Nu-ti place skinul ? Scrie {E60000}/skin [skinid] {33CCFF}si schimba-l.", "{E60000}[Stunt Announcer]-> {33CCFF}Daca esti un fumator cu mare tupeu scrie {E60000}/fumez.", "{E60000}[Stunt Announcer]-> {33CCFF}Viziteaza rubrica cu {E60000}/rules {33CCFF}pentru a citi regulile serverului!" }; P.S. - o sa traduc da mai inta sa stiu sau sa vad daca merge asa... PLS HELP!
-
BV 5/5 o sa o folosesc ca mapa de dm:))cu o arma m4 cum a zis [sTR]Ruben:P
-
Am fakt coins....imi merge tot cand dau copile...dar cand intru pe sv si scriu /givecoins sau /mycoins sau /setcoins imi da:Command %s doesn't exist please use /cmds PLSSSSSSSSSSSSSSSSSSSSSS help #include <a_samp> #include <Dini> #define PlayerFile "Coins System/%s.ini" #pragma unused strtok #define coinsD 187 #define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1 #define Red 0xFF0000FF #define Grey 0xAFAFAFAA #define Green 0x33AA33AA #define Yellow 0xFFFF00AA #define White 0xFFFFFFAA #define Blue 0x0000BBAA #define Lightblue 0x33CCFFAA #define Orange 0xFF9900AA #define Lime 0x10F441AA #define Magenta 0xFF00FFFFT #define Navy 0x000080AA #define Aqua 0xF0F8FFAA #define Crimson 0xDC143CAA #define Black 0x000000AA #define Brown 0XA52A2AAA #define Gold 0xB8860BAA #define Limegreen 0x32CD32AA enum PLAYER_MAIN { Coins } new giveplayerid, amount; new pInfo[MAX_PLAYERS][PLAYER_MAIN]; public OnPlayerConnect(playerid) { new file[100],Name[MAX_PLAYER_NAME],Ip[16]; GetPlayerName(playerid,Name,sizeof(Name)); GetPlayerIp(playerid,Ip,sizeof(Ip)); format(file,sizeof(file),PlayerFile,Name); if(!dini_Exists(file)) { dini_Create(file); dini_IntSet(file,"Coins", pInfo[playerid][Coins]); } pInfo[playerid][Coins] = dini_Int(file,"Coins"); return 1; } public OnPlayerDisconnect(playerid, reason) { new file[100],Name[MAX_PLAYER_NAME],Ip[16]; GetPlayerName(playerid,Name,sizeof(Name)); GetPlayerIp(playerid,Ip,sizeof(Ip)); format(file,sizeof(file),PlayerFile,Name); dini_IntSet(file,"Coins", pInfo[playerid][Coins]); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { dcmd(givecoins, 11, cmdtext); dcmd(setcoins, 10, cmdtext); dcmd(mycoins, 9, cmdtext); dcmd(coinshelp, 10, cmdtext); return 0; } dcmd_coinshelp(playerid, params[]) { #pragma unused params if(IsPlayerAdmin(playerid) == 1) return ShowPlayerDialog(playerid, coinsD+1, DIALOG_STYLE_MSGBOX, "Coins Help", "/setcoins [playerid] [amount]\n/givecoins [playerid] [amount]\n/coins - Will display your total coins.", "Done", "Exit"); ShowPlayerDialog(playerid, coinsD+2, DIALOG_STYLE_MSGBOX, "Coins Help", "/givecoins [playerid] [amount]\n/coins - Will display your total coins.", "Done", "Exit"); return 1; } dcmd_givecoins(playerid, params[]) { if(sscanf(params, "ud", giveplayerid, amount)) SendClientMessage(playerid, Orange, "USAGE : /givecoins [playerid] [amount]"); else if(giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, Red, "ERROR : That player is not connected!"); else if(giveplayerid == playerid) SendClientMessage(playerid, Red, "ERROR : You cant send yourself coins!"); else if(amount > pInfo[playerid][Coins]) SendClientMessage(playerid, Red, "ERROR : You dont have that amount of coins!"); else { new string[156],file[100],Name[MAX_PLAYER_NAME],Ip[16],name[MAX_PLAYER_NAME]; GetPlayerName(giveplayerid, name, sizeof(name));GetPlayerName(playerid,Name,sizeof(Name)); GetPlayerIp(playerid,Ip,sizeof(Ip)); format(file,sizeof(file),PlayerFile,Name); format(string, sizeof(string), "SERVER : You have succesfully sent %d coins to %s!", amount, name); SendClientMessage(playerid, Limegreen, string); format(string, sizeof(string), "SERVER : %s has given you %d coins!", Name, amount); SendClientMessage(giveplayerid, Limegreen, string); pInfo[giveplayerid][Coins] += amount; pInfo[playerid][Coins] -= amount; dini_IntSet(file,"Coins", pInfo[giveplayerid][Coins]); dini_IntSet(file,"Coins", pInfo[playerid][Coins]); } return 1; } dcmd_mycoins(playerid, params[]) { #pragma unused params new string[126]; format(string, sizeof(string), "SERVER : You have %d coins!", pInfo[playerid][Coins]); SendClientMessage(playerid, Limegreen, string); return 1; } dcmd_setcoins(playerid, params[]) { if(IsPlayerAdmin(playerid) == 0) return SendClientMessage(playerid, Red, "ERROR : Only admins can use that command!"); if(sscanf(params, "ud", giveplayerid, amount)) SendClientMessage(playerid, Orange, "USAGE : /setcoins [playerid] [amount]"); else if(giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, Red, "ERROR : That player is not connected!"); else { new string[156],file[100],Name[MAX_PLAYER_NAME],Ip[16],name[MAX_PLAYER_NAME]; GetPlayerName(giveplayerid, name, sizeof(name));GetPlayerName(playerid,Name,sizeof(Name)); GetPlayerIp(playerid,Ip,sizeof(Ip)); format(file,sizeof(file),PlayerFile,Name); format(string, sizeof(string), "SERVER : You have succesfully setted %s coins to %d!", name, amount); SendClientMessage(playerid, Limegreen, string); format(string, sizeof(string), "SERVER : Admin %s has setted your coins to %d!", Name, amount); SendClientMessage(giveplayerid, Limegreen, string); pInfo[giveplayerid][Coins] = amount; dini_IntSet(file,"Coins", pInfo[giveplayerid][Coins]); } return 1; } stock sscanf(string[], format[], {Float,_}:...) { #if defined isnull if (isnull(string)) #else if (string[0] == 0 || (string[0] == 1 && string[1] == 0)) #endif { return format[0]; } #pragma tabsize 4 new formatPos = 0, stringPos = 0, paramPos = 2, paramCount = numargs(), delim = ' '; while (string[stringPos] && string[stringPos] <= ' ') { stringPos++; } while (paramPos < paramCount && string[stringPos]) { switch (format[formatPos++]) { case '\0': { return 0; } case 'i', 'd': { new neg = 1, num = 0, ch = string[stringPos]; if (ch == '-') { neg = -1; ch = string[++stringPos]; } do { stringPos++; if ('0' <= ch <= '9') { num = (num * 10) + (ch - '0'); } else { return -1; } } while ((ch = string[stringPos]) > ' ' && ch != delim); setarg(paramPos, 0, num * neg); } case 'h', 'x': { new num = 0, ch = string[stringPos]; do { stringPos++; switch (ch) { case 'x', 'X': { num = 0; continue; } case '0' .. '9': { num = (num << 4) | (ch - '0'); } case 'a' .. 'f': { num = (num << 4) | (ch - ('a' - 10)); } case 'A' .. 'F': { num = (num << 4) | (ch - ('A' - 10)); } default: { return -1; } } } while ((ch = string[stringPos]) > ' ' && ch != delim); setarg(paramPos, 0, num); } case 'c': { setarg(paramPos, 0, string[stringPos++]); } case 'f': { new changestr[16], changepos = 0, strpos = stringPos; while(changepos < 16 && string[strpos] && string[strpos] != delim) { changestr[changepos++] = string[strpos++]; } changestr[changepos] = '\0'; setarg(paramPos,0,_:floatstr(changestr)); } case 'p': { delim = format[formatPos++]; continue; } case '\'': { new end = formatPos - 1, ch; while ((ch = format[++end]) && ch != '\'') {} if (!ch) { return -1; } format[end] = '\0'; if ((ch = strfind(string, format[formatPos], false, stringPos)) == -1) { if (format[end + 1]) { return -1; } return 0; } format[end] = '\''; stringPos = ch + (end - formatPos); formatPos = end + 1; } case 'u': { new end = stringPos - 1, id = 0, bool:num = true, ch; while ((ch = string[++end]) && ch != delim) { if (num) { if ('0' <= ch <= '9') { id = (id * 10) + (ch - '0'); } else { num = false; } } } if (num && IsPlayerConnected(id)) { setarg(paramPos, 0, id); } else { #if !defined foreach #define foreach(%1,%2) for (new %2 = 0; %2 < MAX_PLAYERS; %2++) if (IsPlayerConnected(%2)) #define __SSCANF_FOREACH__ #endif string[end] = '\0'; num = false; new name[MAX_PLAYER_NAME]; id = end - stringPos; foreach (Player, playerid) { GetPlayerName(playerid, name, sizeof (name)); if (!strcmp(name, string[stringPos], true, id)) { setarg(paramPos, 0, playerid); num = true; break; } } if (!num) { setarg(paramPos, 0, INVALID_PLAYER_ID); } string[end] = ch; #if defined __SSCANF_FOREACH__ #undef foreach #undef __SSCANF_FOREACH__ #endif } stringPos = end; } case 's', 'z': { new i = 0, ch; if (format[formatPos]) { while ((ch = string[stringPos++]) && ch != delim) { setarg(paramPos, i++, ch); } if (!i) { return -1; } } else { while ((ch = string[stringPos++])) { setarg(paramPos, i++, ch); } } stringPos--; setarg(paramPos, i, '\0'); } default: { continue; } } while (string[stringPos] && string[stringPos] != delim && string[stringPos] > ' ') { stringPos++; } while (string[stringPos] && (string[stringPos] == delim || string[stringPos] <= ' ')) { stringPos++; } paramPos++; } do { if ((delim = format[formatPos++]) > ' ') { if (delim == '\'') { while ((delim = format[formatPos++]) && delim != '\'') {} } else if (delim != 'z') { return delim; } } } while (delim > ' '); return 0; }
-
PLS HELP CARE SCZ PT 3 post............heeeeeeeeelp
-
Pai este un [FS] de 1000 de case create de RuNix cred...incearca sa-l cauti pe net
-
Numai Astea is: if(strcmp(cmd, "/sex", true) == 0) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_PINK, "USAGE: /sex [playerid] [amount]"); return 1; } giveplayerid = strval(tmp); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_PINK, "USAGE: /sex [playerid] [amount]"); return 1; } moneys = strval(tmp); //printf("givecash_command: %d %d",giveplayerid,moneys); if (IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); playermoney = GetPlayerMoney(playerid); if (moneys > 0 && playermoney >= moneys) { GivePlayerMoney(playerid, (0 - moneys)); GivePlayerMoney(giveplayerid, moneys); format(string, sizeof(string), "Faci sex cu %s(player: %d),pentru $%d.", giveplayer,giveplayerid, moneys); SendClientMessage(playerid, COLOR_PINK, string); format(string, sizeof(string), "ai primit $%d de la %s(player: %d) pentru a face sex cu ea/el =)).", moneys, sendername, playerid); SendClientMessage(giveplayerid, COLOR_PINK, string); format(string, sizeof(string), "%s face sex cu %s",sendername, giveplayer); SendClientMessageToAll(COLOR_PINK, string); printf("%s(playerid:%d) ia dat %d lu %s(playerid:%d) pentru a face sex cu ea/el =))",sendername, playerid, moneys, giveplayer, giveplayerid); } else { SendClientMessage(playerid, COLOR_PINK, "Trebuie sal platesti pentru a face sex cu el dar ai grija daca platesti vrun admin iei ban."); } } else { format(string, sizeof(string), "%d nu e un jucator activ.", giveplayerid); SendClientMessage(playerid, COLOR_PINK, string); } return 1; } if(strcmp(cmd, "/givecash", true) == 0) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /givecash [playerid] [amount]"); return 1; } giveplayerid = strval(tmp); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /givecash [playerid] [amount]"); return 1; } moneys = strval(tmp); //printf("givecash_command: %d %d",giveplayerid,moneys); if (IsPlayerConnected(giveplayerid)) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); playermoney = GetPlayerMoney(playerid); if (moneys > 0 && playermoney >= moneys) { GivePlayerMoney(playerid, (0 - moneys)); GivePlayerMoney(giveplayerid, moneys); format(string, sizeof(string), "You have sent %s(player: %d), $%d.", giveplayer,giveplayerid, moneys); SendClientMessage(playerid, COLOR_YELLOW, string); format(string, sizeof(string), "You have recieved $%d from %s(player: %d).", moneys, sendername, playerid); SendClientMessage(giveplayerid, COLOR_YELLOW, string); printf("%s(playerid:%d) has transfered %d to %s(playerid:%d)",sendername, playerid, moneys, giveplayer, giveplayerid); } else { SendClientMessage(playerid, COLOR_YELLOW, "Invalid transaction amount."); } } else { format(string, sizeof(string), "%d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; }
-
Deci ce am mai observat...am scos comanda /sex...am intrat pe sv am scris sa zicem /aa sau /hold imi scria imd comanda /givecash [id][amount] ce urma dupa comada /sex
-
MS MULT!!!!!!...merge...dar: nu ma lasa sa scriu nici o comanda nici un tele ca imi da USAGE:/sex [id][amount]...sa scot comanda aia?
-
if(strcmp(cmd, "/sex", true) == 0) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_PINK, "USAGE: /sex [playerid] [amount]"); return 1; } giveplayerid = strval(tmp); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_PINK, "USAGE: /sex [playerid] [amount]"); return 1; } moneys = strval(tmp); asta ii comanda /sex...
-
Linia 2491: new string[700], sL[600], sI[600], sU[500], sQ[500], sT[128], sR[600], sE[70]; Linia 1157: new string[999], sL[50];
-
Deci...miam pus asta de pe GM-ul Drift Universe fakt de rock: cmd = strtok(cmdtext, idx); if(!strcmp(cmdtext, "/cmds", true)) { new string[700], sL[600], sI[600], sU[500], sQ[500], sT[128], sR[600], sE[70]; format(sL, sizeof(sL), "{FDFF66}/flip /healme /credits /rules /cc /count"); format(sI, sizeof(sI), "{FDFF66}/godon /godoff /skin <id> /vcontrol /godlist"); format(sU, sizeof(sU), "{FDFF66}/godcar /cash /culori /zi /noapte /nrg /fix"); format(sQ, sizeof(sQ), "{FDFF66}/bug /sugestie /savep /loadp /sprunk /beer /smoke"); format(sT, sizeof(sT), "{FDFF66}/rampages /pgoto <id> /vcmds /cmds /ponline"); format(sE, sizeof(sE), "{FDFF66}/vup /vupoff /speedo"); format(sR, sizeof(sR), "Apasa {FC0303}2 {FDFF66}pentru a repara masina si apasa {FC0303}CLICK {FDFF66}pentru a adauga nitro!"); format(string, sizeof(string),"{FF0202}->/car [name]{EFED7A} foloseste {FF0202}/car [name]{EFED7A} pentru a lua masina dorita\n{FF0202}->/teles{EFED7A} foloseste {FF0202}/teles {EFED7A}pentru a vedea toate teleporturile \n{FF0202}->/vcontrol{EFED7A} foloseste {FF0202}/vcontrol {EFED7A}pentru a accesa Vehicle Control\n\n\n%s\n%s\n%s\n%s\n%s\n%s\n\n\n%s",sL,sI,sU,sQ,sT,sE,sR); return ShowPlayerDialog(playerid, 1010, 0, "General Commands", string, "Ok", "Cancel"); } Cand ii dau copile apare asta: C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\RO.pwn(1157) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\RO.pwn(2491) : warning 219: local variable "string" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 7112 bytes Code size: 523576 bytes Data size: 1072040 bytes Stack/heap size: 16384 bytes; estimated max. usage=5352 cells (21408 bytes) Total requirements: 1619112 bytes 2 Warnings. Cand itru in joc tatez sa zicem /aa sau orice alta comanda imi scrie USE:/sex [id] [amout] PLSSS HELP DIN NOU!
-
Nu ai la pawno/include Include xStreamer
-
Deci sa va explic: Am pus asa: if(strcmp(cmdtext, "/cmds", true) == 0) { if(Roman[playerid] == 0) { ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,"Commands","Commands Simples:/car /arme /teles \n \ \n/buybomb /plantbomb /dance[1-13] /piss /web /time \n \ \n/afk /brb /back /ad /house /s /l /animlist /smoke \n \ \n/tigara /vin /vinoff /exitdm /beer /beeroff /tune \n\ \n/tc1 /tc2 /tc3 /gps [id/off] /day /night /sad /para \n\ \n/myskin /skin /nrg /credits /bweapons /sweapons /glasses \n\ \n/happy /cmenu /hold /takeneon /ganghelp /cookiehelp \n\ \nAcestea sun comenzile !","OK","Iesire"); }//cand am puse astea...dau copile imi da Don't Send sau Send Error Now return 1; } if(Roman[playerid] == 1) { ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,"Commands","Comenzi Simple:/car /arme /teles \n \ \n/buybomb /plantbomb /dance[1-13] /piss /web /time \n \ \n/afk /brb /back /ad /house /s /l /animlist /smoke \n \ \n/tigara /vin /vinoff /exitdm /beer /beeroff /tune \n \ \n/tc1 /tc2 /tc3 /gps [id/off] /zi /noapte /sad /para \n \ \n/myskin /skin /nrg /credits /barme /sarme /glasses \n \ \n/happy /cmenu /hold /takeneon /ganghelp /cookiehelp \n \ \nAcestea sun comenzile !","OK","Iesire"); }//cand am puse astea...dau copile imi da Don't Send sau Send Error Now return 1; } 2.Cand ii asa: //fara { if(strcmp(cmdtext, "/cmds", true) == 0) { if(Roman[playerid] == 0) { ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,"Commands","Commands Simples:/car /arme /teles \n \ \n/buybomb /plantbomb /dance[1-13] /piss /web /time \n \ \n/afk /brb /back /ad /house /s /l /animlist /smoke \n \ \n/tigara /vin /vinoff /exitdm /beer /beeroff /tune \n\ \n/tc1 /tc2 /tc3 /gps [id/off] /day /night /sad /para \n\ \n/myskin /skin /nrg /credits /bweapons /sweapons /glasses \n\ \n/happy /cmenu /hold /takeneon /ganghelp /cookiehelp \n\ \nAcestea sun comenzile !","OK","Iesire"); return 1; } if(Roman[playerid] == 1) { ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,"Commands","Comenzi Simple:/car /arme /teles \n \ \n/buybomb /plantbomb /dance[1-13] /piss /web /time \n \ \n/afk /brb /back /ad /house /s /l /animlist /smoke \n \ \n/tigara /vin /vinoff /exitdm /beer /beeroff /tune \n \ \n/tc1 /tc2 /tc3 /gps [id/off] /zi /noapte /sad /para \n \ \n/myskin /skin /nrg /credits /barme /sarme /glasses \n \ \n/happy /cmenu /hold /takeneon /ganghelp /cookiehelp \n \ \nAcestea sun comenzile !","OK","Iesire"); return 1; } Imi da errorile: C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(638) : error 004: function "SendPlayerFormattedText" is not implemented C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(732) : error 017: undefined symbol "SystemMessage" C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(736) : error 004: function "ReactionWin" is not implemented C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(776) : error 017: undefined symbol "dcmd_afk" C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(777) : error 017: undefined symbol "dcmd_back" C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(778) : error 017: undefined symbol "dcmd_brb" C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(779) : error 017: undefined symbol "dcmd_afklist" C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(780) : error 017: undefined symbol "dcmd_resetafk" C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(975) : error 004: function "SendPlayerFormattedText" is not implemented C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(986) : error 004: function "SendPlayerFormattedText" is not implemented C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(1009) : error 004: function "SendPlayerFormattedText" is not implemented C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(1024) : error 004: function "SendPlayerFormattedText" is not implemented C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(1271) : error 004: function "SendPlayerFormattedText" is not implemented C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(1281) : error 004: function "SendPlayerFormattedText" is not implemented C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(2236) : error 004: function "CountDown" is not implemented C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(2300) : error 017: undefined symbol "IsInvalidSkin" C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(3365) : error 004: function "SetPlayerRandomSpawnWar" is not implemented C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(3387) : error 004: function "SetPlayerRandomSpawnWar" is not implemented C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(3410) : error 004: function "SetPlayerRandomSpawnWAR2" is not implemented C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(3433) : error 004: function "SetPlayerRandomSpawnMinigun" is not implemented C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(3479) : error 004: function "SetPlayerRandomSpawnBerlin" is not implemented C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(3504) : error 004: function "SetPlayerRandomSpawnSpS" is not implemented C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(3524) : error 004: function "SetPlayerRandomSpawnIs" is not implemented C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(3545) : error 004: function "SetPlayerRandomSpawnSniper" is not implemented C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(3581) : error 004: function "SetPlayerRandomSpawnAK47" is not implemented C:\Documents and Settings\user\My Documents\Servere de samp\Server&maps,filterscripts\RDU\gamemodes\RO.pwn(3609) : error 004: function "SetPlayerRandomSpawnCdm" is not implemented Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors. PLS HEEEELP:((