03.03.2018, 17:42
Uma das Maneiras й essa..
https://sampwiki.blast.hk/wiki/SetSpawnInfo
PHP Code:
#include <a_samp>
#include <DOF2>
enum PlayerInfo
{
Slot_1,
Balas_Slot1
}
new pInfo[MAX_PLAYERS][PlayerInfo];
public OnPlayerConnect(playerid)
{
SetSpawnInfo(playerid, 0, pInfo[playerid][Skin], X, Y, Z, T, pInfo[playerid][Slot_1], pInfo[playerid][Balas_Slot1], pInfo[playerid][Slot_2], pInfo[playerid][Balas_Slot2], pInfo[playerid][Slot_3], pInfo[playerid][Balas_Slot3]); // Uma das Maneiras й essa.
SpawnPlayer(playerid);
return 1;
}