Jump to content
  • 0

Problema Hitman


Question

5 answers to this question

Recommended Posts

  • 0
Posted
La 29.11.2017 la 17:27, VLM a spus:

Problema: Nu pot da /garage ca rank 1,2,3,4,5,6, merge decat ca lider..

Cod sursa: Comanda /garage: https://pastebin.com/VrmDCMvy

 if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)

        {

//se executa comanda

} else return SendClientMessage(playerid, COLOR_LIGHTRED, "You are not a Hitman.");

  • 0
Posted
if(PlayerInfo[playerid][pMember] != 11 || PlayerInfo[playerid][pLeader] != 11) return SendClientMessage(playerid, COLOR_LIGHTRED, "You are not a Hitman.");

Modifici aceasta linie, in:

if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11) return SendClientMessage(playerid, COLOR_LIGHTRED, "you are not taking part of Hitman.");

 

  • 0
Posted (edited)
La 15.12.2017 la 0:33, webby a spus:

if(PlayerInfo[playerid][pMember] != 11 || PlayerInfo[playerid][pLeader] != 11) return SendClientMessage(playerid, COLOR_LIGHTRED, "You are not a Hitman.");

Modifici aceasta linie, in:


if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11) return SendClientMessage(playerid, COLOR_LIGHTRED, "you are not taking part of Hitman.");

 

Total gresit. daca e in hitman nu va mai pitea intra in garaj. ceea ce ai facut tu e sa verifice daca jucatorul este im hitman si daca este sa ii returneze mesaj ca nu este in hitman???

Edited by valivaly96
  • 0
Posted

s-a rezolvat de mult, am lasat doar:

if(PlayerInfo[playerid][pMember] == 11

si a mers si ca lider si ca membru.

puteti da t/c

#retras

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.