- 0
Problema /agoto
-
Similar Content
-
- 2 answers
- 598 views
-
Problema turf
By Soryn.,
- 3 answers
- 395 views
-
- 0 replies
- 109 views
-
- 2 replies
- 327 views
-
- 1 reply
- 201 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Mr.LeX2011
am facut si eu o comanda pentru admin mai exact pentru teleporturi,comanda este /agoto este un dialog in care admini dau dublu click pe locatia dorita si am facut comanda si nu mai stiu cum sa fac daca nu esti admin sati zica "Nu Ai Voie SA Folosesti aceasta comanda"
uitati comanda:
[pawn]
if (strcmp(cmd, "/agoto", true) == 0)
{
if(PlayerToPoint(5.0,playerid,1582.5625,-1686.9138,6.218 || PlayerToPoint(5.0,playerid,242.6930,66.4504,1003.6 406) || PlayerToPoint(5.0,playerid,1565.1204,-1666.1179,28.3956))
{
if(PlayerInfo[playerid][pAdmin] == 1 || PlayerInfo[playerid][pHelper] == 1)
{
ShowPlayerDialog(playerid, agoto, DIALOG_STYLE_LIST, "..::: Goto BlackPedia :::..", "{FF1400}LoS Santos\n{FFB400}Mountain Chiliad\n{DCDCDC}Aeroport San Fierro\n{DCDCDC}Gara San Fierro\n{DCDCDC}Plaja Los Santos\n{DCDCDC}VAMA=LS-SF-LV\n{DCDCDC}Aeroport LaS VenTuRaS\n{DCDCDC}LaS VenTuRaS", "Apasa", "Iesi");
return SendClientMessage(playerid,COLOR_GREEN,"Apasa pe locatia unde vrei sa te duci!");
}
}
}[/pawn]
Link to comment
Share on other sites
8 answers to this question
Recommended Posts