13.12.2009, 04:35
ok here is my problem i am just learning scripting and one thing i am trying to learn is how to make skins like CJ appear on the class selection but when i script all the codes it always shows the class selection on a elevator in LV or SF here is my coding
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(14,1302.6456,-924.4240,39.2761);
SetPlayerCameraPos(14,1305.5270,-928.6412,39.0312);
SetPlayerCameraLookAt(14,1302.6456,-924.4240,39.2761);
SetPlayerFacingAngle(14,212.1116);
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(14,1302.6456,-924.4240,39.2761);
SetPlayerCameraPos(14,1305.5270,-928.6412,39.0312);
SetPlayerCameraLookAt(14,1302.6456,-924.4240,39.2761);
SetPlayerFacingAngle(14,212.1116);
return 1;
}