System bug house
#1

Hello I create a system for my house GameMode, but I have a problem.
When I placed the order / enter the game it nothing happens.
Hold Pastebin : http://pastebin.com/wbACpTtf

Thank you in advance. Mayou
Reply
#2

You need to add InfosJoueur[playerid][DansMaison] = -1; under OnPlayerSpawn.

The default value for any variable is 0. The way you have it now, when the player connects, InfosJoueur[playerid][DansMaison] is equal to 0 and not -1.
Reply
#3

It's already put in the gm I put the system in the house pastebin
Reply
#4

I did not opened your gm but as Yuryfury said...
pawn Код:
public OnPlayerSpawn(playerid)
{
    InfosJoueur[playerid][DansMaison] = -1;
    return 1;
}
Add this in your script.
Hope it works
Reply
#5

it does not even work as
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)