problem with command that crash the server ):
#1

Pleasee help!!

Код:
	if(strcmp(cmd, "/buyable", true) == 0)
	{
  new file2[] = "/ServerFiles/Admins.ini";
  if(fsearch(file2,playername, false)==0)return 0;
	if(!(IsPlayerInAnyVehicle(playerid)))return SendClientMessage(playerid,red,"/Buyable - айрк бшлб,длрс мшлб едчщ");
	new vehicleid = GetPlayerVehicleID(playerid);
	format(file,sizeof(file),"Car/car%d.txt",GetPlayerVehicleID(playerid));
	dini_IntSet(file,"Buyable",1);
	dini_IntSet(file,"CarOwned",0);
	dini_Set(file,"CarOwner","none");
	dini_IntSet(file,"CarLocked",0);
	format(String,sizeof(String),".мшлб фший рйъп мчрййд , %s [ID: %d] дфлъ аъ дшлб",GetVehicleName(vehicleid), vehicleid);
	SendClientMessage(playerid,COLOR_LIGHTBLUE,String);
	PlayerPlaySound(playerid,1056,0.0, 0.0, 0.0);
	return 1;
	}
how to fix it ?? ): i really need it!
Reply


Messages In This Thread
problem with command that crash the server ): - by aviv258958 - 11.03.2010, 15:56
Re: problem with command that crash the server ): - by lameguy - 11.03.2010, 17:01
Re: problem with command that crash the server ): - by aviv258958 - 11.03.2010, 17:19
Re: problem with command that crash the server ): - by aviv258958 - 11.03.2010, 17:55
Re: problem with command that crash the server ): - by lameguy - 11.03.2010, 20:27
Re: problem with command that crash the server ): - by aviv258958 - 13.03.2010, 15:43

Forum Jump:


Users browsing this thread: 1 Guest(s)