SA-MP Forums Archive
"/dropcar" command makes pawno crash. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: "/dropcar" command makes pawno crash. (/showthread.php?tid=76406)



"/dropcar" command makes pawno crash. - marszim - 04.05.2009

Код:
	if(strcmp(cmd, "/dropcar", true) == 0)
	{
	  if(IsPlayerConnected(playerid))
	  	{
      if(PlayerInfo[playerid][pCarTime] == 0)
		   {
	       GameTextForPlayer(playerid, "~w~Car Selling ~n~~r~Drop the car at the Crane", 5000, 1);
	       CP[playerid] = 1;
	       SetPlayerCheckpoint(playerid, -1548.3618,123.6438,3.2966,8.0);
        }
		    else
	      {
         SendClientMessage(playerid, COLOR_GREY, "  You already Dropped a car, wait till your reload time is over !");
		    }
			}
		}//not connected
		return 1;
	}
I messed around with it.. and it fucked it up, anyone fix it for me please?


Re: "/dropcar" command makes pawno crash. - marszim - 04.05.2009

Nevermind i fixed it -.-