16.11.2012, 22:26
nгo entendo..
ter passar o linhas onde este ShowPlayerDialog
ou
Tente
PD: atribuir uma variбvel
ter passar o linhas onde este ShowPlayerDialog
ou
Tente
PHP код:
if(response == 0)
{
return SendClientMessage(playerid,COLOR_WHITE,"Vocк cancelou o menu do GPS.");
}
if( listitem == 0)
{
SetPlayerCheckpoint(playerid,1538.2189,-1681.6970,5.8906);
}
if( listitem == 1)
{
SetPlayerCheckpoint(playerid,298.4533,-1518.8646,24.5938);
}
if( listitem == 2)
{
SetPlayerCheckpoint(playerid,-1347.0657,498.5268,11.1953);}
if( listitem == 3)
{
SetPlayerCheckpoint(playerid,2003.4354,-1444.1321,13.5621);}
if( listitem == 4)
{
SetPlayerCheckpoint(playerid,1691.0067,-2112.9229,13.3828);}
if( listitem == 5)
{
SetPlayerCheckpoint(playerid,2748.6006,-2453.4863,13.8623);}
if( listitem == 6)
{
SetPlayerCheckpoint(playerid,355.4489,162.4052,1025.7964);}
if( listitem == 7)
{
SetPlayerCheckpoint(playerid,954.4877,-1533.4193,13.5780);}
if( listitem == 8)
{
SetPlayerCheckpoint(playerid,740.3707,-1348.3239,13.5100);}
if( listitem == 9)
{
SetPlayerCheckpoint(playerid,1001.5851,-1447.9072,13.5469);}
if( listitem == 10)
{
SetPlayerCheckpoint(playerid,-49.8735,-274.2333,5.4297);}
if( listitem == 11)
{
SetPlayerCheckpoint(playerid,309.4009,-1161.1469,80.9141);}
if( listitem == 12)
{
SetPlayerCheckpoint(playerid,681.2902,-1274.3928,13.5805);}
if( listitem == 13)
{
SetPlayerCheckpoint(playerid,2511.3423,-1671.1489,13.4475);}
if( listitem == 14)
{
SetPlayerCheckpoint(playerid,404.9639,2535.7507,16.5460);}
if( listitem == 15)
{
SetPlayerCheckpoint(playerid,939.5961,-1224.0160,16.2889);}
if( listitem == 16)
{
SetPlayerCheckpoint(playerid,1145.1360,-1179.8810,32.0275);}
if( listitem == 17)
{
SetPlayerCheckpoint(playerid,2814.3884,-1182.9852,25.2631);}
if( listitem == 18)
{
SetPlayerCheckpoint(playerid,2185.1260,-1765.0551,13.3761);}
if( listitem == 19)
{
SetPlayerCheckpoint(playerid,681.3267,-481.9659,16.1875);}
if( listitem == 20)
{
SetPlayerCheckpoint(playerid,2794.2378,-1604.6234,10.9283);}
if( listitem == 21)
{
SetPlayerCheckpoint(playerid,1620.6208,-1868.0526,13.3828);}
if( listitem == 22)
{
SetPlayerCheckpoint(playerid,-395.0352,1746.6198,42.4297);}
if( listitem == 23)
{
SetPlayerCheckpoint(playerid,1385.9492,-1648.4480,13.3787);
}
}
}
public OnPlayerEnterCheckpoint(playerid)
{
DisablePlayerCheckpoint(playerid);
return 1;
}