2 RandomSpawns not working
#9

i got 7 warnings already bro -_- FUCK THEM THE IMPORTANT THING IT WORKS XD and btw i made a hydra dm
the random spawns are not working! help?

Код:
new Float:HydraSpawns[2][4] = {
    {-972.9755,1069.8314,1345.0050,85.8408},
    {-1134.6814,1049.0612,1345.7662,270.3724}
};
then

Код:
SetPlayerInterior(playerid, 10);
        new pName[24];
        new str[128];
        GetPlayerName(playerid, pName, 24);
        format(str, 128, "%s has teleported to /hydra dm", pName);
        SendClientMessageToAll(0xFF9900AA, str);
        new Random = random(sizeof(HydraSpawns));
        SetPlayerPos(playerid, HydraSpawns[Random][0]);
        SetPlayerFacingAngle(playerid, HydraSpawns[Random][1]);
it compiles but -.- when i go in game i type i t then unknown command then again it worked and it teleported me to a weird place that i didnt want and it keeps saying unknown then works to type the command but not the teleport -.- ANY HELP?
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: 3 Guest(s)