Kvostyc 4 Odesláno: 2. Říjen, 2014 Share Odesláno: 2. Říjen, 2014 Ahoj ked sa prihlásim na server a vyberam si classu tak ked dám tu šípku tak stále mi ukazuje iba na Las Venturas. A chcem aby to fungovalo tak že ked dám dalšu šipku tak mi ukaže na SF a potom na LS public OnPlayerRequestClass(playerid, classid) { switch(classid) { case 0: { GameTextForPlayer(playerid, "~g~Las Venturas", 3000, 6); SetPlayerCameraLookAt(playerid,1907.1855,960.4733,10.8203,0); SetPlayerCameraPos(playerid,1906.6901,942.2941,10.6957); } case 1: { GameTextForPlayer(playerid, "~g~San Fierro", 3000, 6); SetPlayerCameraLookAt(playerid,-2107.9922,472.3179,35.1719,0); SetPlayerCameraPos(playerid,-2108.8079,494.8861,35.1719); } case 2: { GameTextForPlayer(playerid, "~r~Meno21", 3000, 6); } } return 1; } Link to comment Share on other sites More sharing options...
0 ĐaVe 33 Odesláno: 2. Říjen, 2014 Share Odesláno: 2. Říjen, 2014 switch(classid) ... nemas definovany staci napr misto toho dat if(classid > 10 && classid < 20) coz znamena pokud classid je v rozmezi mezi 11-19 ... v tomto rozmezi si das postavy napr v san fieru Link to comment Share on other sites More sharing options...
Dotaz
Kvostyc 4
Link to comment
Share on other sites
1 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