Jump to content
  • 0

Cum dezactivez acele sageti galbene si cum fac sa ia jobul doar de acolo?


dR.

Question

Dupa cum zice titlu cu pot dezactiva acele sageti galbene care ti le da serveru cand dai pawno -> new .. si am o problema eu am pus sa se ia doar de la primarie dar daca da /takejob farmer ii da jobu' dar daca da /takejob ii zice ca nu e la primarie uitati aici :

[pawn]CMD:takejob(playerid, params[])

{

    if(IsPlayerInRangeOfPoint(playerid, 10,361.8388,173.5775,1008.3828))

if(sscanf(params, "s[32]", params))

{

    SendClientMessage(playerid, COLOR_GREY, "[Jobs]: Farmer - Next - Next - Next - Next.");

    return 1;

}

if(!strcmp(params, "farmer", true))

{

PlayerInfo[playerid][pJob] = 1;

  SendClientMessage(playerid, COLOR_WHITE, "[JOB] - Acum esti un {C0C0C0}Fermier");

}

SendClientMessage(playerid,-1, "{FFFFFF}Tu nu esti la {FF0000}Primarie !");

return 1 ;

}[/pawn]

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

[glow=red,2,300]pentru faza cu "nu esti la primarie" problema e la coordonatele puse aici  IsPlayerInRangeOfPoint(playerid, 10,361.8388,173.5775,1008.3828) .  [/glow]

[glow=blue,2,300]SAMP.[glow=yellow,2,300]RSP-GAME[glow=red,2,300].NET[/glow][/glow][/glow]

Link to comment
Share on other sites

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.