DmG 1 Odesláno: 26. Září, 2012 Share Odesláno: 26. Září, 2012 Zdar, potřeboval bych poradit ohledně výběru skinu Chci aby když je hráč registrován tak aby se mu neukazoval výběr skinu ale rovnou ho Spawnul Zkoušel jsem to takhle public OnPlayerRequestClass(playerid, classid) { if(PlayerInfo[playerid][reg] == 1) return SpawnPlayer(playerid); { SetPlayerPos(playerid, -688.7404,1455.7004,17.3274,90.1677); SetPlayerCameraPos(playerid, -641.5891,1459.9904,13.4806,88.6010); SetPlayerCameraLookAt(playerid, -688.7404,1455.7004,17.3274,90.1677); } return 1; } Zkoušel jsem ještě asi 3 způsoby SpawnPlayer jsem dal pod závorku a bez return za if(PlayerInfo[playerid][reg] == 1) Zkoušel jsem to s else ale nic Ale nešlo to tak bych se chtěl zeptat jak to můžu udělat tak že když je už registrovaný tak aby mu to neukazovalo Výběr Skinu ale přímo ho to hodilo na Spawn? Dík předem Link to comment Share on other sites More sharing options...
0 DooM 93 Odesláno: 26. Září, 2012 Share Odesláno: 26. Září, 2012 zkus: public OnPlayerRequestClass(playerid, classid) { if(PlayerInfo[playerid][reg] == 1) return SpawnPlayer(playerid); SpawnPlayer(playerid); return 1; } nebo public OnPlayerConnect(playerid) { if(PlayerInfo[playerid][reg] == 1) return SpawnPlayer(playerid); SpawnPlayer(playerid); return 1; } Link to comment Share on other sites More sharing options...
0 Mivčo 90 Odesláno: 26. Září, 2012 Share Odesláno: 26. Září, 2012 Skus daj taj s inakších modov spawn napr: WTLS,mtv,RZE ..... Link to comment Share on other sites More sharing options...
0 LYRIcS 88 Odesláno: 26. Září, 2012 Share Odesláno: 26. Září, 2012 pred spawnplayer() musis pouzit aj setspawninfo(playerid, ...) alebo pouzi napr tento stock: stock Link to comment Share on other sites More sharing options...
0 DmG 1 Odesláno: 26. Září, 2012 Author Share Odesláno: 26. Září, 2012 Ok díky všichni zkusím EDIT: Protože jsem se až dneska dostal doma ke kompu A vyzkoušel jsem všechno pořád mi nic nejde Nemáte prosím ještě někdo nějaký nápad? Link to comment Share on other sites More sharing options...
Dotaz
DmG 1
Zdar,
potřeboval bych poradit ohledně výběru skinu
Chci aby když je hráč registrován tak aby se mu neukazoval výběr skinu ale rovnou ho Spawnul
Zkoušel jsem to takhle
Zkoušel jsem ještě asi 3 způsoby
SpawnPlayer jsem dal pod závorku a bez return za if(PlayerInfo[playerid][reg] == 1)
Zkoušel jsem to s else ale nic
Ale nešlo to
tak bych se chtěl zeptat jak to můžu udělat tak že když je už registrovaný tak aby mu to neukazovalo Výběr Skinu ale přímo ho to hodilo na Spawn?
Dík předem
Link to comment
Share on other sites
4 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