public OnPlayerRequestClass(playerid, classid){ SetPlayerInterior(playerid,14);SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);SetPlayerFacingAngle(playerid, 270.0);SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234); return 1;}
AddPlayerClass(SKINID,1785.8019,-3594.2456,7.5531,101.5296,0,0,0,0,0,0);AddPlayerClass(SKINID,1785.8019,-3594.2456,7.5531,101.5296,0,0,0,0,0,0);AddPlayerClass(SKINID,1785.8019,-3594.2456,7.5531,101.5296,0,0,0,0,0,0);
{ switch (classid) { case 0://Az elsõ AddPlayerClass... { SetPlayerPos(playerid, POS); SetPlayerCameraPos(playerid, POS); SetPlayerCameraLookAt(playerid, POS); } case 1://A második... { SetPlayerPos(playerid, POS); SetPlayerCameraPos(playerid, POS); SetPlayerCameraLookAt(playerid, POS); } case 2://A 3. { SetPlayerPos(playerid, POS); SetPlayerCameraPos(playerid, POS); SetPlayerCameraLookAt(playerid, POS); }
public OnGameModeInit() {AddPlayerClass(0,0, 0, 0, 4.0, 0, 0, 24,300,-1,-1);AddPlayerClass(1,0, 0, 0, 4.0, 0, 0, 24,300,-1,-1);AddPlayerClass(2,0, 0, 0, 4.0, 0, 0, 24,300,-1,-1);AddPlayerClass(3,0, 0, 0, 4.0, 0, 0, 24,300,-1,-1);AddPlayerClass(4,0, 0, 0, 4.0, 0, 0, 24,300,-1,-1); return 1;}
public OnPlayerRequestClass(playerid, classid){ SetPlayerInterior(playerid,14); SetPlayerPos(playerid,258.4893,-41.4008,1002.0234); SetPlayerFacingAngle(playerid, 270.0); SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234); SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234); return 1;}
Parancsolj, kerestem neked jót a születésnapod alkalmából http://sampforum.hu/index.php?topic=16350.0http://gtaforum.hu/index.php?topic=13120.0UI: Boldog Születésnapot kívánok isten éltesen!!
public OnPlayerRequestClass(playerid, classid){ SetPlayerInterior(playerid,0); SetPlayerPos(playerid,258.4893,-41.4008,1002.0234); SetPlayerFacingAngle(playerid, 270.0); SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234); SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234); return 1;}
Interior hiba!próbáld így: public OnPlayerRequestClass(playerid, classid){ SetPlayerInterior(playerid,0); SetPlayerPos(playerid,258.4893,-41.4008,1002.0234); SetPlayerFacingAngle(playerid, 270.0); SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234); SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234); return 1;}