- 0
Problema PlayerToPoint!
-
Similar Content
-
Problema turf
By Soryn.,
- 3 answers
- 261 views
-
- 1 reply
- 179 views
-
Problema
By ImJustSlim,
- 3 answers
- 286 views
-
- 2 replies
- 157 views
-
- 1 answer
- 312 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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