Jump to content
  • 0

problema la comanda /hunted


Question

Posted

Salut , am si eu scriptul cu hunted insa cand este ales hunt-ul daca dau /hunted sa imi arate locatia lui zice ca momentan jocul hunted nu a inceput !

Aceasta e comanda /hunted :

[pawn]if(strcmp(cmd, "/hunted", true) == 0)

{

    if(IsPlayerConnected(playerid))

    {

    if(IsGameStarted > 0)

{

if(PlayerOnMission[playerid] > 0)

{

SendClientMessage(playerid, COLOR_GREY, "  On a mission right now, can't use this command !");

return 1;

}

if(HuntedPlayer == playerid)

{

SendClientMessage(playerid, COLOR_GREY, "    Nu poti folosi /hunted cand esti Hunt !");

return 1;

}

if(HuntedPlayer != INVALID_PLAYER_ID)

{

new Float:X,Float:Y,Float:Z;

GetPlayerPos(HuntedPlayer, X,Y,Z);

SetPlayerCheckpoint(playerid, X,Y,Z, 6);

FindTime[playerid] = 1;

FindTimePoints[playerid] = 12;

}

else

{

SendClientMessage(playerid, COLOR_GREY, "  Momentan nu a inceput jocul 'Hunted' !");

}

}

else

{

SendClientMessage(playerid, COLOR_GREY, "  Momentan nu a inceput jocul 'Hunted' !");

}

}

    return 1;

}[/pawn]

RPG.VIBEPLAY.RO

Recomand acest server Romanesc bY woozie aka. weedluver aka. undertaker !!

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.