23.05.2012, 22:46
Hello.
I have a command, that sets a player to go onto request class.
here it is:
The problem is, it doesn't let me change class? (I mean, the arrows don't come up or anything).
How can I change that?
Thanks!
I have a command, that sets a player to go onto request class.
here it is:
pawn Код:
command(buyclothes, playerid, params[])
{
SetPlayerInterior(playerid, 15);
TogglePlayerControllable(playerid, 0);
SetPlayerPos(playerid, 218.0603,-98.5880,1005.2578);
SetPlayerFacingAngle(playerid, 91.4206);
SetPlayerCameraPos(playerid, 215.7918,-98.6616,1005.2578);
SetPlayerCameraLookAt(playerid, 218.0603,-98.5880,1005.2578);
TogglePlayerSpectating(playerid, false);
OnPlayerRequestClass(playerid, 0);
return 1;
}
How can I change that?
Thanks!