Error Help. I dont see the problem?
#3

try this :
Код:
dcmd_acheckcode(playerid, params[])
{

    if(PlayerInfo[playerid][pAdmin] >= 5)
    return SendClientMessage(playerid, COLOR_GREY, "* You are not authorized to use this!!");

	new carid;
	new comment[64];
 	if(sscanf(params, "i", carid))
 	    return SendClientMessage(playerid,"Usage: \"/acheckcode <carid>\");

	if(IsAnOwnableCar(carid))
	{
	    format(comment, sizeof(comment),"* Car id %d code is %d",carid, CarInfo[carid][cCode]);
	}
	else
	{
		format(comment, sizeof(comment),"* Car id %d code is %d",carid, VehiclePass[carid]);
	}
	SendClientMessage(playerid, COLOR_GREY,comment);
	return 1;
}
Reply


Messages In This Thread
Error Help. I dont see the problem? - by ArmandoRamiraz - 15.07.2012, 02:58
Re: Error Help. I dont see the problem? - by [MM]RoXoR[FS] - 15.07.2012, 03:11
Re: Error Help. I dont see the problem? - by Avi57 - 15.07.2012, 03:12
Re: Error Help. I dont see the problem? - by clarencecuzz - 15.07.2012, 03:15
Re: Error Help. I dont see the problem? - by ArmandoRamiraz - 15.07.2012, 03:40
Re: Error Help. I dont see the problem? - by Avi57 - 15.07.2012, 03:42

Forum Jump:


Users browsing this thread: 1 Guest(s)