AddPlayerClass
#7

Set the camera view, and make sure that's how classes are created with the script you're using. It does work, tested it on a blank script.

pawn Код:
// ** INCLUDES

#include <a_samp>

// ** MAIN

main()
{
    print("Loaded \"blank.amx\".");
}

// ** CALLBACKS

public OnGameModeInit()
{
    AddPlayerClass(119,  -1971.0557,134.8813,27.6875,88.5718,0,0,0,0,0,0); // Class ID  0 = Civilian
    return 1;
}

public OnGameModeExit()
{
    return 1;
}
It sets the player's skin and position on spawn.
Reply


Messages In This Thread
AddPlayerClass - by XHunterZ - 24.08.2016, 17:46
Re: AddPlayerClass - by SickAttack - 24.08.2016, 17:49
Re: AddPlayerClass - by XHunterZ - 24.08.2016, 17:50
Re: AddPlayerClass - by SickAttack - 24.08.2016, 17:51
Re: AddPlayerClass - by WhiteGhost - 24.08.2016, 17:52
Re: AddPlayerClass - by XHunterZ - 24.08.2016, 17:54
Re: AddPlayerClass - by SickAttack - 24.08.2016, 17:56
Re: AddPlayerClass - by XHunterZ - 26.08.2016, 06:54

Forum Jump:


Users browsing this thread: 1 Guest(s)