SA-MP Forums Archive
exit code problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: exit code problem (/showthread.php?tid=504170)



exit code problem - Slicebook - 02.04.2014

Код:
	else if( dialogid == DIALOG_HOUSEM )
				{
						if( !response )
						{
						return 1;
						}
						if( listitem == 0)
						{
							if(IsAt(playerid,IsAt_HazElott) != NINCS)
							{
								for(new i = 0; i < hazak; i++)
								{
									if (PlayerToPoint(3, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez]))
									{
									if(HouseInfo[i][hLock] == 0)
									{
										new HazBelso = HouseInfo[i][hBelso];
										SetPlayerInterior(playerid,IntInfo[HazBelso][iNumber]);
										SetPlayerPos(playerid,IntInfo[HazBelso][iExitX],IntInfo[HazBelso][iExitY],IntInfo[HazBelso][iExitZ]);
										SetPlayerVirtualWorld(playerid, i);
										GameTextForPlayer(playerid, "~w~Ьdv itt!", 5000, 1);
										PlayerInfo[playerid][pLocal] = i;
										Hazbanvan[playerid] = 1;
										new zseka = Fbios[playerid];
										SendFormatMessage(zseka, Pink, "PDA Ьzenet: %s bement a %d szбmъ hбzba.", PlayerName(playerid), i)
										SetPlayerMarkerForPlayer(zseka, playerid, COLOR_INVISIBLE);
										return 1;
									}
								}
							}	
						}



Re: exit code problem - Slicebook - 02.04.2014

I think the bad end, 26errors 1exit code


Re: exit code problem - Slicebook - 02.04.2014

oh thanks!