new Float:M4DMspawn[3][3] ={{2249.4368,2441.1208,3.2734},{2301.0139,2439.4565,4.2891},{2304.7871,2477.0537,3.2734}};
else if(m4dm[playerid] == true){new rand = random(sizeof(M4DMspawn));SetPlayerPos(playerid,M4DMspawn[rand][0],M4DMspawn[rand][1],M4DMspawn[rand][2]); ResetPlayerWeapons(playerid);GivePlayerWeapon(playerid,31,500);SetPlayerHealth(playerid,100);SetPlayerArmour(playerid,100);}
off: Pi€i máskor pawn-ot hasznéld mer rádfognak szólni on: [pawn]new rand = random(sizeof(RandomSpawn))new Float:RandomSpawn[3][1] = { {2249.4368,2441.1208,3.2734}, {2301.0139,2439.4565,4.2891}, {2304.7871,2477.0537,3.2734} }; public OnPlayerSpawn(playerid){ new rand = random(sizeof(RandomSpawn)); SetPlayerPos(playerid, RandomSpawn[rand][0], RandomSpawn[rand][1], RandomSpawn[rand][2]; ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,31,500); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,100); return 1; }[/pawn]nekem jó ::|