onplayerrequestclass .... :S
#5

Quote:
Originally Posted by i514x_
Посмотреть сообщение
you're making it on every classid you should do it like that:

public OnPlayerRequestClass(playerid, classid)
{
switch(classid)
{
case 1:
{
//SetPlayerPos
//SetPlayerCameraPos
//SetPlayerCameraLookAt
}
case 2:
{
//SetPlayerPos
//SetPlayerCameraPos
//SetPlayerCameraLookAt
}
}
return 1;
}
yeah thanks, but i got multiple skins i wish to use with one camera position, would i do something like

new skin[10]; < 10 skins in 1 position

but i dont know how to put that into a switch in one
Reply


Messages In This Thread
onplayerrequestclass .... :S - by WillyP - 28.10.2010, 20:12
Re: onplayerrequestclass .... :S - by i514x - 28.10.2010, 20:16
Re: onplayerrequestclass .... :S - by Fj0rtizFredde - 28.10.2010, 20:19
Re: onplayerrequestclass .... :S - by i514x - 28.10.2010, 20:21
Re: onplayerrequestclass .... :S - by WillyP - 28.10.2010, 20:46
Re: onplayerrequestclass .... :S - by Fj0rtizFredde - 28.10.2010, 20:49
Re: onplayerrequestclass .... :S - by Nero_3D - 28.10.2010, 21:06
Re: onplayerrequestclass .... :S - by WillyP - 28.10.2010, 21:08

Forum Jump:


Users browsing this thread: 1 Guest(s)