elRobertino 0 Odesláno: 21. Prosinec, 2015 Share Odesláno: 21. Prosinec, 2015 Ahojte, poradili by ste mi stýmto kódom? Potrebujem aby sa pri vybere postav opakoval pri preklikavaní tento cyklus týchto dvoch výberov public OnPlayerRequestClass(playerid, classid) { switch(classid) { case 0: { SetPlayerPos(playerid, 661.6200,-820.1381,86.5092); SetPlayerFacingAngle(playerid, 227.2857); SetPlayerCameraLookAt(playerid, 661.6200,-820.1381,86.5092); SetPlayerCameraPos(playerid, 673.1569,-826.9614,80.5580); CreateObject(2780,658.29999,-814.70001,85.6,0.0,0.0,0.0); GameTextForPlayer(playerid,"~b~Tym1",5000,5); team[playerid] = TEAM_Tym1; SetPlayerColor(playerid, COLOR_BLUE); SetPlayerWeather(playerid, 7); SetPlayerTime(playerid, 0, 0); } case 1: { SetPlayerPos(playerid, 661.6200,-820.1381,86.5092); SetPlayerFacingAngle(playerid, 227.2857); SetPlayerCameraLookAt(playerid, 661.6200,-820.1381,86.5092); SetPlayerCameraPos(playerid, 673.1569,-826.9614,80.5580); CreateObject(2780,658.29999,-814.70001,85.6,0.0,0.0,0.0); GameTextForPlayer(playerid,"~r~Tym2",5000,5); team[playerid] = TEAM_Tym2; SetPlayerColor(playerid, COLOR_RED); SetPlayerWeather(playerid, 7); SetPlayerTime(playerid, 0, 0); } } return 1; } Link to comment Share on other sites More sharing options...
0 DvaDva 2 Odesláno: 21. Prosinec, 2015 Share Odesláno: 21. Prosinec, 2015 (upraveno) Nepouzíva se tam AddPlayerClass ? Edited 21. Prosinec, 2015 by DvaDva Link to comment Share on other sites More sharing options...
0 mxco 55 Odesláno: 21. Prosinec, 2015 Share Odesláno: 21. Prosinec, 2015 Tento "cyklus" se opakuje když vybíráš postavy. Link to comment Share on other sites More sharing options...
0 Quiter 99 Odesláno: 21. Prosinec, 2015 Share Odesláno: 21. Prosinec, 2015 nechápem stále čo od nás presne chceš... po 1. žiaden cyklus tam nemáš po 2. zbytočné tam písať 2x to isté... Link to comment Share on other sites More sharing options...
Dotaz
elRobertino 0
Ahojte, poradili by ste mi stýmto kódom?
Potrebujem aby sa pri vybere postav opakoval pri preklikavaní tento cyklus týchto dvoch výberov
Link to comment
Share on other sites
3 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