14.04.2012, 18:18
Hello,
I have a bit of a problem here. I don't know how to make a certain class spawn in a house, heres the info you might need:
Here, it's about my 1st Grove Class, all info about that:
And
NOTE: When i put SetPlayerInterior under OnPlayerRequestClass i get that interior in the Class Selection
The one to fix my problem will get rep ;)
I have a bit of a problem here. I don't know how to make a certain class spawn in a house, heres the info you might need:
Here, it's about my 1st Grove Class, all info about that:
Quote:
public OnPlayerRequestClass(playerid, classid) { PlayerPlaySound(playerid, 1187, 0,0,0); switch(classid) { case 0: { SetPlayerPos(playerid, 2499.5300,-1666.4550,13.3500); SetPlayerCameraPos(playerid, 2481.8308,-1665.9565,13.3393); SetPlayerFacingAngle(playerid, 90.2208); SetPlayerCameraLookAt(playerid, 2499.5300,-1666.4550,13.3500); ApplyAnimation(playerid,"DANCING", "dnce_M_b", 4.0, 1, 1, 1, 0, -1); GameTextForPlayer(playerid, "~g~Grove Street", 3000, 6); SetPlayerColor(playerid, GROVE_COLOR); } |
Quote:
AddPlayerClass(105, 2496.0227,-1697.5411,1014.7344,179.2174,9,1,27,100,29,200);// Grove Spawn 1 |
The one to fix my problem will get rep ;)