errors
#2

pawn Код:
public OnPlayerSpawn(playerid)
{
    new Random = random(sizeof(MdmSpawns));
    new r = random(sizeof(RandomPistol));
    new r1 = random(sizeof(RandomAssault));
    new r2 = random(sizeof(RandomHeavy));
    new r3 = random(sizeof(RandomSub));
    if(MDM[playerid] != 0) {
        SetPlayerPos(playerid, MdmSpawns[Random][0], MdmSpawns[Random][1], MdmSpawns[Random][2]);
        GivePlayerWeapon(playerid, RandomPistol[r][0], RandomPistol[r][1]);
        GivePlayerWeapon(playerid, RandomAssault[r1][0], RandomAssault[r1][1]);
        GivePlayerWeapon(playerid, RandomHeavy[r2][0], RandomHeavy[r2][1]);
        Freeze(playerid, 5000);
    }
    if(WTF[playerid] != 0);//382
    SetPlayerPos(playerid, WtfSpawns[Random][0], WtfSpawns[Random][1], WtfSpawns[Random][2]);
    GivePlayerWeapon(playerid, RandomPistol[r][0], RandomPistol[r][1]);
    GivePlayerWeapon(playerid, RandomAssault[r1][0], RandomAssault[r1][1]);
    GivePlayerWeapon(playerid, RandomSub[r3][0], RandomSub[r3][1]);
    Freeze(playerid, 5000);
    else {//388
        SetPlayerPos(playerid, 405.7959, 2436.9858, 16.5000), SetPlayerInterior(playerid, 0);
    }
    return 1;
}
pawn Код:
Wtf[playerid] = 1;//1116
Do you have it in variable?
Reply


Messages In This Thread
errors - by manchestera - 27.11.2011, 16:43
Re: errors - by Kostas' - 27.11.2011, 16:51
Re: errors - by manchestera - 27.11.2011, 16:53
Re: errors - by Gustavob - 27.11.2011, 16:54
Re: errors - by manchestera - 27.11.2011, 16:59
Re: errors - by manchestera - 27.11.2011, 17:14
Re: errors - by Kostas' - 27.11.2011, 17:19
Re: errors - by manchestera - 27.11.2011, 17:36
Re: errors - by manchestera - 27.11.2011, 18:20
Re: errors - by Kostas' - 27.11.2011, 18:52

Forum Jump:


Users browsing this thread: 2 Guest(s)