why is my class/skin selection blank?
#1

Hi, i'm new to SAMP server programming.

I made a new blank pawno script that uses the default values.
Put it on my server.cfg gamemode and start my server

When i go into the game , the class/skin selection is blank and when i click left or right , it still remians blanks , when i click spawn , CJ is spawned .

How can i enable skin selection?

Thanks.
Reply
#2

Use this
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1957.3783, 1342.1572, 15.0000);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
}
the default one has this problem where the camera is at the same place as the player which will result in the selection menu/class selection not show skins etc.
Reply
#3

thankss
Still cant use the left and right to browse through skins..
Is there a code to enable that?
Reply
#4

You have to add classes, use AddPlayerClass.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)