21.04.2009, 14:47
Just for testing i've made this that if the classid is above 1 you wont be able to browse through the rest, i had it working for a second but dont know what i did wrong now..
Somebody help me
Somebody help me
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1477.1437,-2410.3237,52.6302);
SetPlayerFacingAngle(playerid, 309.0874);
SetPlayerCameraPos(playerid, 1479.2456,-2408.4324,53.8625);
SetPlayerCameraLookAt(playerid, 1477.1437,-2410.3237,52.5302);
if(classid > 1)
{
return 0;
}
return 0;
}