John_Ionut Posted November 22, 2012 Report Share Posted November 22, 2012 [glow=red,2,300]Salutare, ceva nu e in regula, nu imi merge SetPlayerToTeamColor.[/glow]public SetPlayerToTeamColor(playerid) { if(PlayerInfo[playerid][pAngajator] == 13 || PlayerInfo[playerid][pSef] == 13) { SetPlayerColor(playerid, COLOR_M13); } if(PlayerInfo[playerid][pAngajator] == 14 || PlayerInfo[playerid][pSef] == 14) { SetPlayerColor(playerid, COLOR_M14); } if(PlayerInfo[playerid][pAngajator] == 15 || PlayerInfo[playerid][pSef] == 15) { SetPlayerColor(playerid, COLOR_M15); } if(PlayerInfo[playerid][pAngajator] == 0 || PlayerInfo[playerid][pSef] == 0) { SetPlayerColor(playerid, TEAM_HIT_COLOR); } return 1; }[glow=red,2,300]Nu stiu ce sa fac. Fiindca culoarea membrului e tot ALBA.[/glow] Link to comment Share on other sites More sharing options...
[XSR]NexT Posted November 22, 2012 Report Share Posted November 22, 2012 Verifica culorile ce coduri au de exemplu COLOR_M4A1 sau cum ai acolo.. Link to comment Share on other sites More sharing options...
John_Ionut Posted November 22, 2012 Author Report Share Posted November 22, 2012 pai au tot :| codurile sunt bune ex:#define COLOR_M13 0x73BF40C8 #define COLOR_M14 0x6F55AAC8 #define COLOR_M15 0x8AB748C8Uite :| Link to comment Share on other sites More sharing options...
John_Ionut Posted November 23, 2012 Author Report Share Posted November 23, 2012 Care stie de ce nu merge sa imi pun culorile?Aaaa, am uitat sa zic ceva, nu imi da nici un warning, nimica, pus si simplu nu actioneaza :| Link to comment Share on other sites More sharing options...
Question
John_Ionut
[glow=red,2,300]Salutare, ceva nu e in regula, nu imi merge SetPlayerToTeamColor.[/glow]
[glow=red,2,300]Nu stiu ce sa fac. Fiindca culoarea membrului e tot ALBA.[/glow]
Link to comment
Share on other sites
3 answers to this question
Recommended Posts