Problem with class!
#4

Put all your class's under OnGameModeInit , then you need to place the player Position when he is choosing a class , also you need to set the Camera Position and the Camera look at..under OnPlayerRequestClass..
Here's an example :
When player chooses a class , he's position will be in the desert.

PHP код:
public OnPlayerRequestClass(playeridclassid)
{
    
//Teams
    
SetPlayerPos(playerid,11.9577,1716.7191,22.6222);
    
SetPlayerFacingAngle(playerid128.0980);
    
SetPlayerInterior(playerid0);
    
SetPlayerCameraPos(playerid,9.6063,1715.1882,22.6113);
    
SetPlayerCameraLookAt(playerid,11.9577,1716.7191,22.6222);
    
//-----------------------------------
    
return 1;

Also you can add a music and an anim..

if you need more help please let me know !!
Reply


Messages In This Thread
Problem with class! - by IvancheBG - 21.03.2011, 19:37
Re : Problem with class! - by anumaz - 21.03.2011, 20:30
Re: Problem with class! - by Klutty - 21.03.2011, 20:33
Re : Problem with class! - by Soumi - 21.03.2011, 23:13
Re: Problem with class! - by IvancheBG - 22.03.2011, 07:02

Forum Jump:


Users browsing this thread: 1 Guest(s)