18.02.2011, 14:26
Ta dando erro aki.
Quando eu apago isso ele fica dando Fatal erro
@Edit.
Botei ele ta spawn no ponto de spawn
Quote:
//MORRER E NASCER NO PONTO QUE MORREU GetPlayerPos(playerid, mortex[playerid], mortey[playerid], mortez[playerid]); World[playerid] = GetPlayerVirtualWorld(playerid); Interior[playerid] = GetPlayerInterior(playerid); PlayerIsDead[playerid] = 1; Conce[playerid] = 0; new name[MAX_PLAYER_NAME]; new string[256]; new playercash; new victimteam; new Floatx,Floaty,Floatz; new killerteam; DropWeapons(playerid); victimteam = gTeam[playerid]; burgerexit[playerid] = 0; Hospital[playerid] = 1; storeexit[playerid] = 0; PlayerInfo[playerid][pInvWeapon] = 0; PlayerInfo[playerid][pInvAmmo] = 0; cherifeexit[playerid] = 0; killerteam = gTeam[killerid]; gPlayerSpawned[playerid] = 0; GetPlayerName(playerid, name, sizeof(name)); PlayerInfo[playerid][pLocal] = 255; GetPlayerPos(playerid, px, py, pz); if(IsPlayerInMorro(playerid)) { MorreuNoMorro[playerid] = 1; SetTimerEx("MorreuMorroTimer", 600000, false, "i", playerid); } if(IsPlayerInShop(playerid)) { MorreuNoShop[playerid] = 1; SetTimerEx("MorreuShopTimer", 600000, false, "i", playerid); } if(IsPlayerInSkate(playerid)) { MorreuNoSkate[playerid] = 1; SetTimerEx("MorreuSkateTimer", 600000, false, "i", playerid); } if(IsPlayerInPier(playerid)) { MorreuNoPier[playerid] = 1; SetTimerEx("MorreuPierTimer", 600000, false, "i", playerid); } if(IsPlayerInAero(playerid)) { MorreuNoAero[playerid] = 1; SetTimerEx("MorreuAeroTimer", 600000, false, "i", playerid); } if(killerid != 255) { new killername[MAX_PLAYER_NAME]; new victimname[MAX_PLAYER_NAME]; if(GetPlayerState(killerid) == 2) { GetPlayerName(killerid, killername, sizeof(killername)); GetPlayerName(playerid, victimname, sizeof(killername)); SendClientMessage(killerid, COLOR_RED, "[Atenзгo] Nгo abuse de DRIVE BY ou serб punido."); format(string, sizeof(string), "[Aviso] %s fez Drive By em %s !!!", killername,victimname); SendClientMessageToAll(ORANGE, string); PlayerInfo[killerid][pKills] += 1; WantedPoints[killerid] += 1; SetPlayerWantedLevel(killerid, WantedPoints[killerid]); return 1; } } |
@Edit.
Botei ele ta spawn no ponto de spawn