06.08.2010, 13:39
[AJUDA]Textdraw
06.08.2010, 20:51
ninguйm ajuda? nгo e preciso saber tudo mas se souber algum desses conteъdos ajudem...
06.08.2010, 20:58
06.08.2010, 21:03
garfield mas eu percisava que me ajuda ses em textdraw...
06.08.2010, 21:11
06.08.2010, 21:16
olha, o da morte la eh so usar,
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
return 1;
}
07.08.2010, 00:28
tipo se eu posser isso ai
basta por isso?
ou tem de por outra coisa
Quote:
public OnPlayerDeath(playerid, killerid, reason) { SendDeathMessage(killerid, playerid, reason); return 1; } |
ou tem de por outra coisa
07.08.2010, 00:34
Apenas Isso
07.08.2010, 00:42
DraKoN
podes me ajudar com textdraw? tipo aquela barra? sу preciso que alguйm me ensine como faзo depois eu estruturo o resto...
podes me ajudar com textdraw? tipo aquela barra? sу preciso que alguйm me ensine como faзo depois eu estruturo o resto...
07.08.2010, 22:33
tipo eu tenho
sу que nгo aparece como ta lб em cima aparece com uma informaзгo escrita em baixo do boneco eu queria como lб em cima na primeira foto, olha ai:
sabem pk nгo aparece como ta la em cima?
obg pela atenзao =)
Quote:
public OnPlayerDeath(playerid, killerid, reason) { SendDeathMessage(killerid, playerid, reason); return 1; } |
Quote:
public OnPlayerDeath(playerid, killerid, reason) { //SendDeathMessage(killerid, playerid, reason); if (gdebug >=0){printf("OnPlayerDeath Playerid:%d killerid:%d reason:%d", playerid, killerid, reason);} new name[MAX_PLAYER_NAME]; new string[256]; new dmessage[128]; new deathreason[20]; new playercash; new victimteam; new Floatx,Floaty,Floatz; //new killerteam; victimteam = (gTeam[playerid]); //killerteam = (gTeam[killerid]); gPlayerSpawned[playerid] = 0; GetPlayerName(playerid, name, sizeof(name)); PlayerInfo[playerid][pLocal] = 255; GetPlayerPos(playerid, px, py, pz); if (EventsProxDetectorV(100.0, playerid, 254) || EventsProxDetectorV(100.0, playerid, 255) || EventsProxDetectorV(100.0, playerid, 256)) { for (new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i) && (i != playerid)) { new tmpcar = GetPlayerVehicleID(i); if (tmpcar >= 254 && tmpcar <= 256) { if (PlayerHaul[tmpcar][pLoad] > 0) { PlayerInfo[i][pWA]++; if(PlayerInfo[i][pWA] >= 20) { PlayerInfo[i][pExp]++; PlayerInfo[i][pWA] = 0; SendClientMessage(i, COLOR_YELLOW, "ganhou +1 exp"); } PlayerHaul[tmpcar][pLoad]--; GiveMoney(playerid, 5000); } } } } SendDeathMessage(killerid, playerid, reason); } if(killerid != INVALID_PLAYER_ID) { new oldlevel; new newlevel; //oldlevel = GetPlayerWantedLevel(killerid); oldlevel = PlayerInfo[killerid][pWantedlevel]; newlevel = oldlevel + 1; SetPlayerWantedLevel(killerid, newlevel); ADBy(playerid, killerid, reason); Score[killerid]++; } if(gPlayerFighter[playerid] == 1) { DmScore[playerid]--; if(killerid != INVALID_PLAYER_ID) { DmScore[killerid]++; if(DmScore[killerid] > DmHiScore) { new dmname[MAX_PLAYER_NAME]; GetPlayerName(killerid, dmname, sizeof(dmname)); DmHiPlayer = killerid; DmHiScore = DmScore[killerid]; format(string, sizeof(string), "DMNEWS: %s Is now in the lead with %d", dmname,DmHiScore); BroadCast(COLOR_WHITE, string); format(string, sizeof(string), " ~g~%d~w~|~g~%d",DmScore[killerid],DmHiScore); } else { format(string, sizeof(string), " ~r~%d~w~|~g~%d",DmScore[killerid],DmHiScore); } GameTextForPlayer(killerid, string, 5000, 6); } } GetWeaponName(reason, deathreason, 20); format(dmessage, sizeof(dmessage), "~r~Vocк estб morto"); if (strlen(deathreason) == 0) { format(deathreason, sizeof(deathreason), "Fists"); } if (reason == 41) { format(deathreason, sizeof(deathreason), "Pepper Spray"); } if (gPlayerCheckpointStatus[playerid] == CHECKPOINT_DROPOFF) { if (gdebug){print("DEBUG test6");} DisablePlayerCheckpoint(playerid); gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE; new check; check = gPlayerCheckpointStatus[playerid]; if (gdebug){printf("DEBUG check %d" ,check);} OnPlayerDropCashBox(playerid); } if (gPlayerCheckpointStatus[playerid] == CHECKPOINT_BFDROPOFF) { if (gdebug){print("DEBUG test7");} DisablePlayerCheckpoint(playerid); gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE; new check; check = gPlayerCheckpointStatus[playerid]; if (gdebug){printf("DEBUG check %d" ,check);} OnPlayerDropBriefCase(playerid); } if (gPlayerCheckpointStatus[playerid] > 4 && gPlayerCheckpointStatus[playerid] < 11) { DisablePlayerCheckpoint(playerid); gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE; LapCount[playerid] = 0; } /* if((PlayerInfo[playerid][pPhousekey]+1 != gLastCar[playerid] && gLastCar[playerid] != 0) || HireCar[playerid] != gLastCar[playerid] && gLastCar[playerid] != 0) { printf("DEBUG PlayerInfo[playerid][pPhousekey](%d) gLastCar[playerid]-1(%d) HireCar[playerid](%d)", PlayerInfo[playerid][pPhousekey],gLastCar[playerid]-1,HireCar[playerid]); UnLockCar(gLastCar[playerid]); gCarLock[gLastCar[playerid]] = 0; gLastDriver[gLastCar[playerid]] = 300; gLastCar[playerid] = 0; } */ new caller = Mobile[playerid]; if(caller != 255) { if(caller < 255) { SendClientMessage(caller, COLOR_GRAD2, " A linha sу foi morto..."); CellTime[caller] = 0; CellTime[playerid] = 0; Mobile[caller] = 255; } Mobile[playerid] = 255; CellTime[playerid] = 0; } ClearCrime(playerid); if (killerid == INVALID_PLAYER_ID) { for(new i = 0; i <= MAX_PLAYERS; i++) { if(IsPlayerConnected(i) && gTeam[i] != gTeam[playerid] && CrimInRange(20.0, playerid,i) && GetPlayerState(i) != 2) { killerid = i; format(deathreason, sizeof(deathreason), "Intimidation"); PlayerInfo[playerid][pIntimD]++; } } } if (killerid == INVALID_PLAYER_ID) { if ((gTeam[playerid]) == 0) { return 1; |
obg pela atenзao =)
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)