2 RandomSpawns not working
#2

pawn Код:
if(!strcmp(cmdtext, "/deagledm", true))
    {
    GivePlayerWeapon(playerid, 24, 50000000);
        new pName[24];
        new str[128];
        GetPlayerName(playerid, pName, 24);
        format(str, 128, "%s has teleported to /deagledm", pName);
        SendClientMessageToAll(0xFF9900AA, str);
        new RandomSpawn = random(sizeof(DESpawns));
        SetPlayerPos(playerid, DESpawns[RandomSpawn][0], DESpawns[RandomSpawn][1], DESpawns[RandomSpawn][2], DESpawns[RandomSpawn][3]);
        SetPlayerFacingAngle(playerid, DESpawns[RandomSpawn][7]);
        ResetPlayerWeaponsEx(playerid, 24);
        return 1;
Reply


Messages In This Thread
2 RandomSpawns not working - by SilverKiller - 17.11.2012, 12:31
Re: 2 RandomSpawns not working - by Freak@ - 17.11.2012, 12:40
Re: 2 RandomSpawns not working - by SilverKiller - 17.11.2012, 12:43
Re: 2 RandomSpawns not working - by Freak@ - 17.11.2012, 12:51
Re: 2 RandomSpawns not working - by SilverKiller - 17.11.2012, 13:46
Re: 2 RandomSpawns not working - by zDivine - 17.11.2012, 14:12
Re: 2 RandomSpawns not working - by SilverKiller - 17.11.2012, 14:48
Re: 2 RandomSpawns not working - by zDivine - 17.11.2012, 14:51
Re: 2 RandomSpawns not working - by SilverKiller - 17.11.2012, 14:59
Re: 2 RandomSpawns not working - by zDivine - 17.11.2012, 15:03

Forum Jump:


Users browsing this thread: 1 Guest(s)