#1

Help me please,
When a player Connects,when he presses the button SPAWN,I want the player to select with what skin he wishes to spawn.(+1 rep if you help)
Reply
#2

Uhm isn't it much easier to just use the class selection from OnGameModeInit?
https://sampwiki.blast.hk/wiki/AddPlayerClass
From sa-mp wiki:
pawn Код:
public OnGameModeInit()
{
    // People can spawn with either the CJ skin or The Truth skin.
    AddPlayerClass(0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
    AddPlayerClass(1, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
    return 1;
}
I guess you could use ForceClassSelection under OnPlayerSpawn but then again it would be weird...
https://sampwiki.blast.hk/wiki/ForceClassSelection
Reply
#3

Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)