20.03.2011, 17:52
Hello . I've try to make gps sysetm . I've made dialog and now when I press Driving school i want that shows me location .
This is my code :
if (strcmp("/gps", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"GPS ","1. Driving school\r\n2. Hospital\r\n3. Police","Location", "Cancel");
return 1;
}
And here is picture picture for help :
/imageshack/i/samp006xz.png/
This is my code :
if (strcmp("/gps", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"GPS ","1. Driving school\r\n2. Hospital\r\n3. Police","Location", "Cancel");
return 1;
}
And here is picture picture for help :
/imageshack/i/samp006xz.png/