help me
#1

nothing i wrong
Reply
#2

This is not a script request thread.

Check forum rules.
Reply
#3

Quote:
Originally Posted by [V]PawnFox
Посмотреть сообщение
This is not a script request thread.

Check forum rules.
i know but i need help please
Reply
#4

I'm just showing hints
pawn Код:
new PlayersSpawned;

public OnGameModeInit()
{
    PlayersSpawned = 0;
    return 1;
}

public OnPlayerSpawn(playerid)
{
    PlayersSpawned++;
    new randspawn = random(randspawn);
    if(PlayersSpawned <= 3)//if 3 or less players are spawned
    {
        //your code
    }
    if(PlayersSpawned == 4)//if 4 players are sapwmed. 4=human as you want
    {
        //your code
    }
    while(PlayersSpawned >= 5)//if more than 4 players are spawned
    {
        switch(randspawn)//Set here the random spawns with teams and weapons (Set the data)
        {
            case 0: GivePlayerMoney(playerid, 10); //SetSpawnInfo(playerid, team, skin, Float:x, Float:y, Float:z, Float:Rot, weap1, ammo, weap2, ammo, weap3, ammo);
            //and so on
        }
    }
    return 1;
}
Edit: Sorry I was late , I typed this via my ipod (code is not tested and it's just an example)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)