01.11.2012, 10:31
I did it.Its good but at bottom of the map when spawn that area.The floor is bug like wont show.
//Classes
AddPlayerClassEx( HUMANS_TEAM, 163, 470.1499, 879.4683, -29.0365, 270.3423, 24, 250, 25, 150, 31, 5000); // Classid 0
AddPlayerClassEx( ZOMBIES_TEAM, 160, 710.0132, 822.6918, -30.2325, 63.2217, 9, 1, 0, 0, 0, 0); // Classid 1
I compile and recieve no error's
I think it have to do something with this
public OnPlayerRequestClass(playerid, classid){
switch(classid){
case 0: SetPlayerTeam(playerid, HUMANS_TEAM); // HUMANS team (Classid 0)
case 1: SetPlayerTeam(playerid, ZOMBIES_TEAM); // ZOMBIES Team (classid 1)
}
SetPlayerInterior(playerid,14); - on this interior I think thats reason why its not showing floor?
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 true;
}
//Classes
AddPlayerClassEx( HUMANS_TEAM, 163, 470.1499, 879.4683, -29.0365, 270.3423, 24, 250, 25, 150, 31, 5000); // Classid 0
AddPlayerClassEx( ZOMBIES_TEAM, 160, 710.0132, 822.6918, -30.2325, 63.2217, 9, 1, 0, 0, 0, 0); // Classid 1
I compile and recieve no error's
I think it have to do something with this
public OnPlayerRequestClass(playerid, classid){
switch(classid){
case 0: SetPlayerTeam(playerid, HUMANS_TEAM); // HUMANS team (Classid 0)
case 1: SetPlayerTeam(playerid, ZOMBIES_TEAM); // ZOMBIES Team (classid 1)
}
SetPlayerInterior(playerid,14); - on this interior I think thats reason why its not showing floor?
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 true;
}