Where I Missing
#1

Код:
new ThoiGianSpawnXe[MAX_PLAYERS];
CMD:veh(playerid, params[])
{
	if((GetTickCount() - ThoiGianSpawnXe[playerid]) < 120000)
		return SendClientMessage(playerid, COLOR_GREY, "Phai Doi 120 Giay Sau Moi Duoc Su Dung Tiep.");
	new Float:x, Float:y, Float:z, Float:ang;
	new idxe;
	GetPlayerPos(playerid, x,y,z);
	if(sscanf(params, "s[32]", idxe)) return SendClientMessage(playerid, COLOR_RED, "/layxe <ID xe>");
	GetPlayerFacingAngle(playerid, ang);
	CreateVehicle(idxe, x, y, z, ang, -1, -1, -1);
	return 1;
}
why cmd not work ?
Reply


Messages In This Thread
Where I Missing - by TYDS - 02.12.2016, 09:13
Re: Where I Missing - by Dayrion - 02.12.2016, 10:38
Re: Where I Missing - by TYDS - 02.12.2016, 10:43

Forum Jump:


Users browsing this thread: 1 Guest(s)