Help house sistem [GARHOUSE]
#1

I need help on FS garhouse

I have a server GANG WAR I want each to buy a house in the system including garhouse every player spawn killed by another player could spawn in the house that has been purchased

please tell me how to be like that
Reply
#2

huh?
i didnt't understood what u said
but must be this
pawn Код:
#define SPAWN_IN_HOUSE              true  // true = players will spawn in their house on their first spawn | false = players will not spawn in their house on their first spawn
Set it to true
if u want it in all the spawns
inside onplayerspawn
pawn Код:
#if SPAWN_IN_HOUSE == true
    if(GetPVarInt(playerid, "FirstSpawn") == 0)
    {
        SetTimerEx("HouseSpawning", HSPAWN_TIMER_RATE, false, "i", playerid); // Increase timer rate if your gamemodes OnPlayerSpawn gets called after the timer has ended
    }
    #endif
to
pawn Код:
SetTimerEx("HouseSpawning", HSPAWN_TIMER_RATE, false, "i", playerid); // Increase timer rate if your gamemodes OnPlayerSpawn gets called after the timer has ended
ps: not tested but should work xd
Reply
#3

Quote:
Originally Posted by |_ⒾⓇⓄN_ⒹⓄG_|
Посмотреть сообщение
huh?
i didnt't understood what u said
but must be this
pawn Код:
#define SPAWN_IN_HOUSE              true  // true = players will spawn in their house on their first spawn | false = players will not spawn in their house on their first spawn
Set it to true
if u want it in all the spawns
inside onplayerspawn
pawn Код:
#if SPAWN_IN_HOUSE == true
    if(GetPVarInt(playerid, "FirstSpawn") == 0)
    {
        SetTimerEx("HouseSpawning", HSPAWN_TIMER_RATE, false, "i", playerid); // Increase timer rate if your gamemodes OnPlayerSpawn gets called after the timer has ended
    }
    #endif
to
pawn Код:
SetTimerEx("HouseSpawning", HSPAWN_TIMER_RATE, false, "i", playerid); // Increase timer rate if your gamemodes OnPlayerSpawn gets called after the timer has ended
ps: not tested but should work xd
not works
This is only the first spawn to spawn the next course this does not work
Reply
#4

please help me
I desperately need this system in order to spawn in the house at every spawn
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)