16.05.2010, 21:09
Bom o Problema no meu cmd era o random Vlw ambrosion me lembro doque tinha esquecido rsrs
Meu CMD atualizado:
No topo do Script
No onplayercomm:
Em breve irei cria um Novo FS sobre isso...
Meu CMD atualizado:
No topo do Script
Code:
new Float:DMXYZ[][4] = { {1541.7848,-1360.0159,329.4629}, {1533.3612,-1354.6777,329.4518}, {1556.7509,-1361.6980,329.4661} };
Code:
if(strcmp("/irdm",cmdtext,true)==0) { if(IsPlayerConnected(playerid)) { if(DMFECHADO==1) return SendClientMessage(playerid, VERDECLARO, "|Death Match estб fechado o Teleport"); if (GetPlayerState(playerid) == PLAYER_STATE_SPECTATING)return SendClientMessage(playerid, VERDEFRACO, "| Vocк estб de spec nгo pode criar evento Agora."); new rand = random(sizeof(DMXYZ)); SetPlayerPos(playerid, DMXYZ[rand][0], DMXYZ[rand][1],DMXYZ[rand][2]); SetPlayerFacingAngle(playerid, DMXYZ[rand][3]); SetPlayerInterior(playerid,0); ResetPlayerWeapons(playerid); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); GivePlayerWeapon(playerid, 30, 9999); GivePlayerWeapon(playerid, 33, 9999); GivePlayerWeapon(playerid, 24, 9999); GivePlayerWeapon(playerid, 25, 9999); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "Death Match: %s entrou no Death Match (/irdm)", sendername); OOCNews(LARANJA,string); } else SendClientMessage(playerid,0xff6633AA,"Voce nгo esta Logado!"); return 1; }