[Help]Making two Different Classes in 0.3
#1

How can i make two different classes and each of them has other camera angle...example:i want to make Good Guys Class and Bad Guys Class(Lol),And Good Guys camera position and spawn pos is in LSPD,And Bad Guys will spawn in Smokes Crack Factory.This is just an example for what i want.
Reply
#2

pawn Код:
public OnPlayerRequestClass(playerid,classid)
{
    if(classid == ID || classid == ID || classid == ID || classid == id) // add how many you want skin ids (class ids).. this is for Good Guys Class
    {
         SetPlayerPos(playerid,0.000,0.000,0.000); // change the coordinates...
         SetPlayerCameraPos(playerid,0.000,0.000,0.000); // change the coordinates
         SetPlayerCameraAngle(playerid,0.000); // change camera angle (2.000)
         SetPlayerCameraLookAt(playerid,0.000,0.000,0.000); // change the coordinates
    }
    else if(classid == ID || classid == ID || classid == ID || classid == id) // add how many you want skin ids (class ids).. this is for Bad Guys Class
    {
         SetPlayerPos(playerid,0.000,0.000,0.000); // change the coordinates...
         SetPlayerCameraPos(playerid,0.000,0.000,0.000); // change the coordinates
         SetPlayerCameraAngle(playerid,0.000); // change camera angle (2.000)
         SetPlayerCameraLookAt(playerid,0.000,0.000,0.000); // change the coordinates
     }
     return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)