onplayerrequestclass .... :S
#4

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;
}
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: 5 Guest(s)