- 0
Problema PlayerToPoint!
-
Similar Content
-
- 2 replies
- 72 views
-
- 7 answers
- 557 views
-
- 2 answers
- 94 views
-
- 2 answers
- 151 views
-
- 3 answers
- 141 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
BlueSkiLLz
Nick: ..:Lucian:..
Problema: Am facut un dialog in care foloseste PlayerToPoint , dar merge doar la prima factiune la restul nu merge comanda , nu se intampla nimic , nu e completa comanda aici ca o pun degeaba pe toata am pus doar prima factiune care merge si una dintre care nu merge.
Erori / warnings: -
Lini/script: [pawn]if(strcmp(cmd, "/takeguns", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
{
if (PlayerToPoint(3, playerid, 1208.9657,-27.8700,1000.9531))
{
ShowPlayerDialog(playerid,68,DIALOG_STYLE_LIST,"Take Guns","Silenced 9mm\nDesert Eagle\nMP5\nAK-47\nM4\nCombat Shotgun\nViata","Alege","Anuleaza");
}
}
else if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
{
if (PlayerToPoint(3, playerid, 438.0905,1411.5494,1084.3047))
{
ShowPlayerDialog(playerid,77,DIALOG_STYLE_LIST,"Take Guns","Silenced 9mm\nDesert Eagle\nMP5\nAK-47\nM4\nCombat Shotgun\nViata","Alege","Anuleaza");
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, "Nu esti langa checkpoint-ul cu /takeguns!");
return 1;
}
}
return 1;
} [/pawn]
Ai incercat sa rezolvi singur ?: Incerca dar nu merge :-?
PS: Scuze nu am vazut ca sa pus Model de postare.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts