NeKeRm@N Posted July 10, 2011 Report Share Posted July 10, 2011 Acest tutorial consta in punerea masinilor pentru factiune:1.Intram in masini si tastam /oldcar- cand tastati /oldcar apare un cod(acel cod scrietil pe o foaie)- asa faceti pana terminati cu toate masinile2.Dati search[CTRL+F] la:if(newstate == PLAYER_STATE_DRIVER) 3.Dupa ce ati dat search, sub linia de mai sus, adaugati asta: if(newcar == A || newcar == B || newcar == 168 || newcar == C) { if(PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 2) { } else { SendClientMessage(playerid, COLOR_GREY,"Your text here !");} RemovePlayerFromVehicle(playerid); } Sa va explic mai bine: - newcar == A(in loc de A puneti codul despre care vam explicat sa'l scrieti pe o foaie) -asa faceti si la celelalte in loc de B,C,D scrieti codul depinde cate masini aveti la factiune(eu de exemplu pentru o factiune 4 masini sunt maxim) if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12) numarul 12 este numarul factiunii - in loc de "You are not a crips member!" puteti pune orice text doriti Deci va fi: if(newcar == 170 || newcar == 169 || newcar == 168 || newcar == 167) { if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12) { SendClientMessage(playerid, COLOR_GREY, "Your TEXT Here!"); RemovePlayerFromVehicle(playerid); } }Sper ca ati inteles !Am facut acest mic tutorial, pentru ca am vazut in topicuri probleme legate de acest tutorial.Bafta ! Quote Link to comment Share on other sites More sharing options...
IstuntmanI Posted July 10, 2011 Report Share Posted July 10, 2011 Nu seamana a tutorial ... 2.5/5, 3/5. Quote Link to comment Share on other sites More sharing options...
IstuntmanI Posted July 10, 2011 Report Share Posted July 10, 2011 Warn +10%, ai dat quote fara sa zici nimic, a fost a 2-a abatere. Quote Link to comment Share on other sites More sharing options...
Roach Posted July 10, 2011 Report Share Posted July 10, 2011 Chiar ca nu prea seamana a tutorial.. dar merge( 3.5/5 ) Quote Underground-GFX Link to comment Share on other sites More sharing options...
heker Posted July 10, 2011 Report Share Posted July 10, 2011 explica bine si este pentru godfather :police: Quote Link to comment Share on other sites More sharing options...
xxSPEEDYxx Posted July 12, 2011 Report Share Posted July 12, 2011 3/5...chiar nu arata a tut... Quote Fara reclama in semnatura! Link to comment Share on other sites More sharing options...
Ryder_RO Posted July 12, 2011 Report Share Posted July 12, 2011 3/5 nu arata a TUTORIAL Quote Link to comment Share on other sites More sharing options...
Xcite Posted July 12, 2011 Report Share Posted July 12, 2011 if(newcar == 170 || newcar == 169 || newcar == 168 || newcar == 167) { if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12) { SendClientMessage(playerid, COLOR_GREY, "Your TEXT Here!"); RemovePlayerFromVehicle(playerid); } } E total gresit din cate vad , codul asta te scoate din masina daca ESTI membru / lider a factiunii 12 , daca intri in masinile cu id 170 , 169 , 168 , 167 si NU te scoate daca esti membri al oricarei factiuni inafara de 12. Normal ar fi: if(newcar == 170 || newcar == 169 || newcar == 168 || newcar == 167) { if(PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 2) { } else { SendClientMessage(playerid, COLOR_GREY,"Your text here !");} RemovePlayerFromVehicle(playerid); }Ai uitat de acel else Quote Link to comment Share on other sites More sharing options...
[STR]Toretto Posted July 13, 2011 Report Share Posted July 13, 2011 3/5.... Quote Link to comment Share on other sites More sharing options...
ruben88 Posted July 13, 2011 Report Share Posted July 13, 2011 3/5 .... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.