Random Pos errors.
#8

PHP код:
public OnPlayerRequestClass(playeridclassid)
{
    switch(
classid) {
        case 
0:
        {
            
SetPlayerPos(playerid,1628.6528,-2290.0068,94.1270);
            
SetPlayerCameraPos(playerid1628.6528,-2290.0068,94.1270);
            
SetPlayerCameraLookAt(playerid,1628.6528,-2290.0068,94.1270);
        }
        case 
1:
        {
            
SetPlayerPos(playerid,1210.7349,-2036.7631,69.0078);
            
SetPlayerCameraPos(playerid1210.7349,-2036.7631,69.0078);
            
SetPlayerCameraLookAt(playerid,1210.7349,-2036.7631,69.0078);
        }
        case 
2:
        {
            
SetPlayerPos(playerid,2111.3210,1258.4351,10.8203);
            
SetPlayerCameraPos(playerid,2111.3210,1258.4351,10.8203);
            
SetPlayerCameraLookAt(playerid,2111.3210,1258.4351,10.8203);
        }
        case 
3:
        {
            
SetPlayerPos(playerid,2112.4336,1152.0609,13.5166);
            
SetPlayerCameraPos(playerid,2112.4336,1152.0609,13.5166);
            
SetPlayerCameraLookAt(playerid,2112.4336,1152.0609,13.5166);
        }
        case 
4:
        {
            
SetPlayerPos(playerid,-1383.6305,680.5055,84.0078 );
            
SetPlayerCameraPos(playerid, -1383.6305,680.5055,84.0078);
            
SetPlayerCameraLookAt(playerid,-1383.6305,680.5055,84.0078);
        }
        case 
5:
        {
            
SetPlayerPos(playerid,-1544.6187,699.6717,148.2734);
            
SetPlayerCameraPos(playerid,-1544.6187,699.6717,148.2734);
            
SetPlayerCameraLookAt(playerid,-1544.6187,699.6717,148.2734);
        }
        case 
6:
        {
            
SetPlayerPos(playerid,-1544.6187,699.6717,148.2734);
            
SetPlayerCameraPos(playerid,-1544.6187,699.6717,148.2734);
            
SetPlayerCameraLookAt(playerid, -1544.6187,699.6717,148.2734);
        }
        case 
7:
        {
            
SetPlayerPos(playerid,2230.8042,-2460.3716,61.6104);
            
SetPlayerCameraPos(playerid,2230.8042,-2460.3716,61.6104);
            
SetPlayerCameraLookAt(playerid2230.8042,-2460.3716,61.6104);
        }
        case 
8:
        {
            
SetPlayerPos(playerid,1472.3932,-2286.8137,42.0187);
            
SetPlayerCameraPos(playerid,1472.3932,-2286.8137,42.0187);
            
SetPlayerCameraLookAt(playerid1472.3932,-2286.8137,42.0187);
        }
        case 
9:
        {
            
SetPlayerPos(playerid,1822.1333,-1682.5481,13.3828);
            
SetPlayerCameraPos(playerid,1822.1333,-1682.5481,13.3828);
            
SetPlayerCameraLookAt(playerid1822.1333,-1682.5481,13.3828);
        }
    }
    return 
true;

Reply


Messages In This Thread
Random Pos errors. - by oktokt1 - 13.06.2016, 19:12
Re: Random Pos errors. - by F1N4L - 13.06.2016, 19:23
Re: Random Pos errors. - by oktokt1 - 13.06.2016, 19:38
Re: Random Pos errors. - by F1N4L - 13.06.2016, 19:44
Re: Random Pos errors. - by oktokt1 - 13.06.2016, 19:50
Re: Random Pos errors. - by F1N4L - 13.06.2016, 19:55
Re: Random Pos errors. - by oktokt1 - 13.06.2016, 20:07
Re: Random Pos errors. - by iKarim - 13.06.2016, 20:11
Re: Random Pos errors. - by F1N4L - 13.06.2016, 20:16
Re: Random Pos errors. - by oktokt1 - 13.06.2016, 20:20

Forum Jump:


Users browsing this thread: 2 Guest(s)