what is wrong here?
#3

i suggest you work on your indentations:
Код:
	if(dialogid == 2)
	{
		if(response)
		{
			switch(listitem)
			{
				case 0:
				{
					//Selected Item: "Las Venturas"
					SetPlayerCheckpoint(playerid,1981.7261,-2451.8857,13.5469)
				}
				case 1:
				{
					//Selected Item: "Los Santos"
					SetPlayerCheckpoint(playerid,1981.7261,-2451.8857,13.5469);
				}
				case 2:
				{
					//Selected Item: "San Fierro"
					SetPlayerCheckpoint(playerid,-1263.8750,25.1669,14.1484);
				}
			}//you missed closing the switch()
			return 1
		}
	}
a switch(){ is worth 1 more TAB
oh, and as Stigg pointed to: have a look at https://sampwiki.blast.hk/wiki/SetPlayerCheckpoint
you also missed 1 parameter: most prolly the radius?
Reply


Messages In This Thread
what is wrong here? - by jot16 - 31.10.2011, 04:22
Re: what is wrong here? - by Stigg - 31.10.2011, 04:26
Re: what is wrong here? - by Babul - 31.10.2011, 04:27
Re: what is wrong here? - by jot16 - 31.10.2011, 04:28
Re: what is wrong here? - by Yamoo - 31.10.2011, 04:28
Re: what is wrong here? - by jot16 - 31.10.2011, 04:31
Re: what is wrong here? - by jot16 - 31.10.2011, 04:34
Re: what is wrong here? - by jot16 - 01.11.2011, 23:02
Re: what is wrong here? - by SuperViper - 01.11.2011, 23:26

Forum Jump:


Users browsing this thread: 7 Guest(s)