ERROR WHILE COMPILING!
#8

FAISAL it crash the pawno.....KAZEKENE same prob. wait post all script


Код:
CMD:lpl(playerid,params[]) {
	new str[128];
 	if(sscanf(params, "s", str)) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "USAGE: /lpl <Text>");
	if(AccInfo[playerid][LoggedIn] == 1 && AccInfo[playerid][Level] >= 1)	{
		if (GetPlayerState(playerid) == 2)
		{
			new VehicleID = GetPlayerVehicleID(playerid), LModel = GetVehicleModel(VehicleID);
	        switch(LModel) { case 448,461,462,463,468,471,509,510,521,522,523,581,586, 449: return SendClientMessage(playerid,red,"ERROR: You can not tune this vehicle"); }
			new Float:pos[3];
			SetVehicleNumberPlate(VehicleID, str);
			GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
			SetPlayerPos(playerid, pos[0]+1, pos[1], pos[2]);
			SetVehicleToRespawn(VehicleID);
			SetVehiclePos(VehicleID, pos[0], pos[1], pos[2]);
			SetTimerEx("TuneLCar",4000,0,"d",VehicleID);
			PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
			SendClientMessage(playerid, blue, "You have tuned your veh sucessful");   CMDMessageToAdmins(playerid,"LP");
		} else {
			SendClientMessage(playerid,red,"Error: You have to be the driver of a vehicle to mod it");
		}
	} else return SendClientMessage(playerid,red, "ERROR: You must be an administrator to use this command");
	return 1;
}
ps: pls dont steal it
Reply


Messages In This Thread
ERROR WHILE COMPILING! - by ergan - 13.05.2012, 14:15
Re: ERROR WHILE COMPILING! - by Faisal_khan - 13.05.2012, 14:16
Re: ERROR WHILE COMPILING! - by mprofitt - 13.05.2012, 14:17
Re: ERROR WHILE COMPILING! - by ergan - 13.05.2012, 14:19
Re: ERROR WHILE COMPILING! - by mprofitt - 13.05.2012, 14:22
Re: ERROR WHILE COMPILING! - by kazekene - 13.05.2012, 14:24
Re: ERROR WHILE COMPILING! - by Faisal_khan - 13.05.2012, 14:24
Re: ERROR WHILE COMPILING! - by ergan - 13.05.2012, 14:27
Re: ERROR WHILE COMPILING! - by kazekene - 13.05.2012, 14:59
Re: ERROR WHILE COMPILING! - by ergan - 13.05.2012, 15:11

Forum Jump:


Users browsing this thread: 3 Guest(s)