Jump to content
  • 0

Se blocheaza pawno


Guest Alxxie

Question

Lucram la un GameMode si am vrut sa adaug ceva la OnPlayerSpawn(ca sa nu ma dea mereu in acelasi loc).Vroiam sa bag ceva de genul:

public OnPlayerSpawn(playerid)
{
    new rand = random(3);
    switch(rand)
    {
        case 0: { SetPlayerPos(playerid, x, y, z);}
        case 1: { SetPlayerPos(playerid, x, y, z);}
        case 2: { SetPlayerPos(playerid, x, y, z);}
    }

// etc
    return 1;
}

Am pus ce aveam de pus dar cand am dat compile mi s-a blocat si a aparut eroarea aia cu don`t send.S-a creat totusi un fisier amx dar care are 0 kb.Am sters aia si am dat din nou compile.Culmea, acum s-a compilat fara probleme.

Ce ar putea sa aiba?? ??? Doar la GM-ul asta am avut problema asta.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.