|
|
#1 |
|
Big Clucker
![]() ![]() Join Date: Jul 2011
Posts: 52
Reputation: 0
|
Galera peguei uma GM da net (Nao irei falar o nome) e fiz meu server tudo certin mas... tem um probleminha ela veio com um "COD" que e tipo assim se a pessoa cometer um "DM" ela e presa automatico é eu queria tirar esse cod alguem pode me ajudar?
|
|
|
|
|
|
#2 |
|
Banned
![]() Join Date: Jun 2010
Posts: 674
Reputation: 7
|
Manda o código né filhote -.-
|
|
|
|
|
|
#3 |
|
Big Clucker
![]() ![]() Join Date: Jul 2011
Posts: 52
Reputation: 0
|
COD da gm toda?
|
|
|
|
|
|
#4 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Feb 2010
Location: Dukes - Liberty City
Posts: 1,414
Reputation: 101
|
Mande seu OnPlayerDeath.
|
|
|
|
|
|
#5 |
|
Big Clucker
![]() ![]() Join Date: Jul 2011
Posts: 52
Reputation: 0
|
Josma_cmd ta ae
public OnPlayerDeath(playerid, killerid, reason) { SendDeathMessage(killerid,playerid,reason); new kname[MAX_PLAYER_NAME]; GetPlayerName(killerid, kname, MAX_PLAYER_NAME); format(file2, sizeof(file2), PASTA_CONTAS, kname); new aname[MAX_PLAYER_NAME]; GetPlayerName(playerid, aname, MAX_PLAYER_NAME); format(file, sizeof(file), PASTA_CONTAS, aname); GameTextForPlayer(playerid,"~r~voce morreu..", 2500, 5); dini_IntSet(file, "usoudroga", 1); TextDrawShowForPlayer(playerid, topblack); TextDrawShowForPlayer(playerid, bottomblack); algemado[playerid] = 0; GPS_Spawned[playerid] = 0; autoescola[playerid] = 0; sequestro[playerid] = 0; prefls[playerid] = 0; prefsf[playerid] = 0; preflv[playerid] = 0; nobarls[playerid] = 0; nobarsf[playerid] = 0; nobarlv[playerid] = 0; nobarfc[playerid] = 0; nautlls[playerid] = 0; dini_IntSet(file, "convitent", 0); dini_IntSet(file, "Entrevista", 0); dini_IntSet(file2, "DM", 1); SetPlayerWantedLevel(killerid, 1); dini_IntSet(file, "usoudroga", 0); if(GetClosestHospital(playerid) == 0){ SetSpawnInfo(playerid,1,dini_Int(file, "Skin"),-2651.6501, 634.4510, 14.4531, 180.0000, 0, 0, 0, 0, 0, 0); } else if(GetClosestHospital(playerid) == 1){ SetSpawnInfo(playerid,1,dini_Int(file, "Skin"),1173.5842,-1324.5615,15.1953,278.4624,0,0,0,0,0,0); } else if(GetClosestHospital(playerid) == 2){ SetSpawnInfo(playerid,1,dini_Int(file, "Skin"),2031.9415,-1404.3578,17.2614,165.8180,0,0,0,0,0,0); } else if(GetClosestHospital(playerid) == 3){ SetSpawnInfo(playerid,1,dini_Int(file, "Skin"),1582.5615,1768.7921,10.8203,93.7454,0,0,0, 0,0,0); } if(DMlb == 1){ new string[256]; format(string, sizeof(string), "(INFO) O jogador %s não foi preso porque o DM estava liberado!",kname); SendClientMessageToAll(msgdm3, string); return 1; } |
|
|
|
|
|
#6 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Feb 2010
Location: Dukes - Liberty City
Posts: 1,414
Reputation: 101
|
Não achei o código, talvez não tenha procurado direito, mas coloque isto no OnGameModeInit que deve resolver:
pawn Code:
E esse código que você postou não é a public inteira, quando for postar códigos use as tags [*pawn] código [*/pawn] Apenas tirando os asteristicos. |
|
|
|
|
|
#7 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Feb 2010
Location: ES
Posts: 2,699
Reputation: 148
|
Testa ae.
pawn Code:
Se ajudei da um joinha |
|
|
|
|
|
#8 |
|
Big Clucker
![]() ![]() Join Date: Jul 2011
Posts: 52
Reputation: 0
|
Rico nem deu pra compila
Josmar onde eu coloco esse seguinte cod que vc me informou? |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [AJUDA]Alguem pode me ajudar a passar para 0.3c | RedBulL_x | Português/Portuguese | 5 | 02/07/2011 07:24 PM |
| [AJUDA]Alguem pode me ajudar com esses 4 erros? | Nake01 | Português/Portuguese | 7 | 11/04/2011 09:59 PM |
| [Ajuda] Alguem ae pode min ajudar? | [Ips]Guh | Português/Portuguese | 6 | 15/10/2010 02:40 PM |
| [Ajuda] Alguem pode me ajudar com esses erros? Please! | Rodolfo_LHP | Português/Portuguese | 1 | 24/06/2010 10:30 PM |
| [Ajuda] Alguem pode me ajudar com o meu GM? | tjfc | Português/Portuguese | 10 | 14/04/2010 07:20 PM |