Guest smion Odesláno: 24. Prosinec, 2008 Share Odesláno: 24. Prosinec, 2008 ako mam urobit ze ked hrac zabije protihraca z ineho tymu 3 krat tak mu to da lepsiu zbran (neco ako gungame na cs)? Link to comment Share on other sites More sharing options...
0 chytrak 14 Odesláno: 24. Prosinec, 2008 Share Odesláno: 24. Prosinec, 2008 udelas si promenou new score[MAX_PLAYERS]; A do onplayerdeath das podminky podle teamu, kde se bude promena pricitat score[playerid ++; a do onplayerspawn pak podminky na promenou if(score[playerid] ==atd Link to comment Share on other sites More sharing options...
0 Guest smion Odesláno: 31. Prosinec, 2008 Share Odesláno: 31. Prosinec, 2008 no diky aleeee...ja som v pawne dost velky amater tak ci by si mi nenapisal cely kod pllllllllllllllls, ak si hral cs gungame tak vies o co ide, ak nie tak ked zabijem trikrat teroristu tak mi da lepsiu zbran, 1. zbran s tlmicom, 2. ... najlepsie by bolo keby si mi napisal na icq bo to tu nechcem cele pisat (ves ake su na svete svine) tak mi pls napis na 385 899 026 diki moc dopredu Link to comment Share on other sites More sharing options...
0 Daw3 0 Odesláno: 2. Leden, 2009 Share Odesláno: 2. Leden, 2009 Mno on náš chytrak dokonce má mod GUNGAME jestli se nepletu takže ten ti s tím poradí víc... Link to comment Share on other sites More sharing options...
0 chytrak 14 Odesláno: 8. Leden, 2009 Share Odesláno: 8. Leden, 2009 ja to mam takto no musis mit promenou napriklad. new score[MAX_PLAYERS]; if (promena teamu[killerid] != nerovna se promene hrace teamu[playerid]) { score[killerid] ++; } priklad z gungamu if (Info[Team][killerid] != Info[Team][playerid]) { Info[Zbran][killerid] ++; new NoveScore = Info[Zbran][killerid]; format(string, sizeof(string), "[i] Tvoje score: .::%d::.", NoveScore); SCM(killerid, COLOR_LIME, string); NovaPromena = Info[Zbran][killerid]; } a do onplayerdeath(nakonec jo) a do onplayerspawn podminky if (Info[Zbran][killerid] == 0 || Info[Zbran][killerid] < 5) { PlayerPlaySound(killerid,1056,0,0,0); GivePlayerWeapon(killerid, 22, 500); // 9 mm pistol } else if (Info[Zbran][killerid] == 5 || Info[Zbran][killerid] < 10) { PlayerPlaySound(killerid,1056,0,0,0); GivePlayerWeapon(killerid, 23, 500); // Silenced pistol } else if (Info[Zbran][killerid] == 10 || Info[Zbran][killerid] < 15) { PlayerPlaySound(killerid,1056,0,0,0); GivePlayerWeapon(killerid, 25, 500); // Shogtun } u tebe to bude napriklad vypada v onplayerdeath musi byt killerid if(score[killerid] == 1) { akce } a v on playerspawn to stejne ale s playerid Link to comment Share on other sites More sharing options...
Dotaz
Guest smion
ako mam urobit ze ked hrac zabije protihraca z ineho tymu 3 krat tak mu to da lepsiu zbran (neco ako gungame na cs)?
Link to comment
Share on other sites
4 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