Guest F7773 Odesláno: 30. Prosinec, 2008 Share Odesláno: 30. Prosinec, 2008 cawte ... píšu to sem ptze tutorial na hitman byl locknut viewtopic.php?f=8&t=598&st=0&sk=t&sd=a&hilit=hitman+system" onclick="window.open(this.href);return false; Tak se chci zeptat u toho tutorialu na co je tady tohle to jsem nejak nepochopil... moneys = strval(tmp); if(moneys > GetPlayerMoney(playerid)) { SendClientMessage(playerid, COLOR_RED, "Moneeeyyy!"); return 1; } if(moneys < 1) { SendClientMessage(playerid, COLOR_YELLOW, ":) no no ."); return 1; } No a tohle ještě sem nepochopil omlouvam se sem novaček if(strcmp(cmd, "/bounties", true) == 0) { new x; SendClientMessage(playerid, COLOR_GREEN, "Vypsane odměny:"); for(new i=0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i) && bounty[i] > 0) { GetPlayerName(i, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "%s%s(%d): $%d", string,giveplayer,i,bounty[i]); x++; if(x > 3) { SendClientMessage(playerid, COLOR_YELLOW, string); x = 0; format(string, sizeof(string), " "); // a k čemu slouží tady tohle pls } else { format(string, sizeof(string), "%s, ", string); //Co je tady tohle? } } } if(x <= 3 && x > 0) { string[strlen(string)-2] = '.'; SendClientMessage(playerid, COLOR_YELLOW, string); } return 1; } Link to comment Share on other sites More sharing options...
0 癌癌癌 1 Odesláno: 30. Prosinec, 2008 Share Odesláno: 30. Prosinec, 2008 To prvni asi že když ho zabiješ dostaneš jeho penize a pošle ti to zpravu: "Moneyyyy..." a to druhy vubec nechapu :-D moneys > 1 SCM " no no " Link to comment Share on other sites More sharing options...
0 Guest F7773 Odesláno: 30. Prosinec, 2008 Share Odesláno: 30. Prosinec, 2008 dík no a to druhy taky nechapu jinak mám jeste jeden problem viz nahoře Link to comment Share on other sites More sharing options...
0 癌癌癌 1 Odesláno: 30. Prosinec, 2008 Share Odesláno: 30. Prosinec, 2008 Neboj každej začinal i ja sem stale nováček format(string, sizeof(string), " "); // a k čemu slouží tady tohle pls o tomhle si myslim že je jen jako "když tam neni nikdo nikdo nikoho nehitmanuje"...a ten přikaz dole SendClientMessage ten to vypiše ten string a tohle: format(string, sizeof(string), "%s, ", string); //Co je tady tohle? To je podle mě jméno hráče... ;)viz kousek vejž nad tim giveplayer,i,bounty); =) ahoj Dobrou noc pawno is closed to 10:00 for me :-D bye bye Link to comment Share on other sites More sharing options...
0 Guest F7773 Odesláno: 30. Prosinec, 2008 Share Odesláno: 30. Prosinec, 2008 díky moc ted se stim vrtam ae už me to nebaví furt to neco musí házetmůžete se na to podívat pls? už si stim nevm rady http://www.sendspace.com/file/d6v92o Link to comment Share on other sites More sharing options...
0 癌癌癌 1 Odesláno: 30. Prosinec, 2008 Share Odesláno: 30. Prosinec, 2008 zkus nahoru nahazet všechny includy a řekni nam errory a jestli jsou to jen tyhle tak pisni ale ja už fakt du čaw C:\DOCUME~1\Mach37\LOCALS~1\Temp\thenewworld.pwn(126) : error 012: invalid function call, not a valid address C:\DOCUME~1\Mach37\LOCALS~1\Temp\thenewworld.pwn(126) : warning 215: expression has no effect C:\DOCUME~1\Mach37\LOCALS~1\Temp\thenewworld.pwn(126) : error 001: expected token: ";", but found ")" C:\DOCUME~1\Mach37\LOCALS~1\Temp\thenewworld.pwn(126) : error 029: invalid expression, assumed zero C:\DOCUME~1\Mach37\LOCALS~1\Temp\thenewworld.pwn(126) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors. Link to comment Share on other sites More sharing options...
0 Guest F7773 Odesláno: 31. Prosinec, 2008 Share Odesláno: 31. Prosinec, 2008 Všechny includy? a to pomuže jak? podle mě tam mám nejak spatne definice new tmp atd a zavorky ae nemužu přijid na to jak to spravit...zkousel sem to po přehazet nak ae vubec jen vice erroru xD Link to comment Share on other sites More sharing options...
0 Daw3 0 Odesláno: 2. Leden, 2009 Share Odesláno: 2. Leden, 2009 To jsou rady... Jakej máš problem... Pošli erory a řádky BTW: mych37 ten první příspěvek. moneys = strval(tmp); if(moneys > GetPlayerMoney(playerid)) { SendClientMessage(playerid, COLOR_RED, "Moneeeyyy!"); return 1; } if(moneys < 1) { SendClientMessage(playerid, COLOR_YELLOW, ":) no no ."); return 1; } Já tady nikde nevidím že by ti to přišetlo peníze... Přičtení peněz je snad GivePlayerMoney to tady nevidím :wtf: TOTO podle mě zjistí kolik máš penez a pak ti to podle toho napíše zpravu Když tak mě opravte je možný že se pletu :wtf: Link to comment Share on other sites More sharing options...
Dotaz
Guest F7773
cawte ... píšu to sem ptze tutorial na hitman byl locknut viewtopic.php?f=8&t=598&st=0&sk=t&sd=a&hilit=hitman+system" onclick="window.open(this.href);return false;
Tak se chci zeptat u toho tutorialu na co je tady tohle to jsem nejak nepochopil...
No a tohle ještě sem nepochopil omlouvam se sem novaček
Link to comment
Share on other sites
7 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now