ionut123 Posted April 22, 2011 Report Share Posted April 22, 2011 Salut , am o problema la server cand playeri se conecteaza la server au toti aceiasi culoare la nume :Sdc ? cum pot face sa aiba playeri culori diferite??Daca stiti ajutatima va rog Let's Go To 193.84.64.110:7779 !Stunt/DM/Race/Fun Server 193.84.64.110:7779 !! Link to comment Share on other sites More sharing options...
Costy1998 Posted April 22, 2011 Report Share Posted April 22, 2011 Pai ia uitate la public OnPlayerConnect sau public OnPlayerSpawn.Sa nu fie ceva gen SetPlayerColor(playerid, Aicea e coloare);Ia uitate. Link to comment Share on other sites More sharing options...
ionut123 Posted April 22, 2011 Author Report Share Posted April 22, 2011 la OnPlayerConnect am pus asapublic OnPlayerConnect(playerid){new randc = random( sizeof PlayerColors );SetPlayerColor( playerid, PlayerColors[ randc ] ); Let's Go To 193.84.64.110:7779 !Stunt/DM/Race/Fun Server 193.84.64.110:7779 !! Link to comment Share on other sites More sharing options...
Costy1998 Posted April 22, 2011 Report Share Posted April 22, 2011 Zim daca tot cu aceas culoare sunt toti playeri. Link to comment Share on other sites More sharing options...
ionut123 Posted April 22, 2011 Author Report Share Posted April 22, 2011 da ma..tot asa Let's Go To 193.84.64.110:7779 !Stunt/DM/Race/Fun Server 193.84.64.110:7779 !! Link to comment Share on other sites More sharing options...
Costy1998 Posted April 22, 2011 Report Share Posted April 22, 2011 Ia fi atent te duci public OnPlayerConnect(playerid) {Si stergi asteanew randc = random( sizeof PlayerColors );SetPlayerColor( playerid, PlayerColors[ randc ] );Dupa ce stergi astea ar trebui sa merga.Bafta. Link to comment Share on other sites More sharing options...
Question
ionut123
Salut , am o problema la server cand playeri se conecteaza la server au toti aceiasi culoare la nume :S
dc ? cum pot face sa aiba playeri culori diferite??
Daca stiti ajutatima va rog
Let's Go To 193.84.64.110:7779 !
Stunt/DM/Race/Fun Server
193.84.64.110:7779 !!
Link to comment
Share on other sites
5 answers to this question
Recommended Posts