Public feed #888008

Anonymous

public text v1 · immutable
Raw Edit
·published 2008-02-01 20:21 UTC
rendered paste body
if(strcmp(cmd,"/color",true) == 0)
	{
		new tmp[256];
		new tmp2[256];
		tmp = strtok(cmdtext, idx);
		tmp2 = strtok(cmdtext, idx);
		if(!strlen(tmp))
			{
			SendClientMessage(playerid,COLOR_WHITE,"Wpisz: /kolor [id koloru 1] [id koloru 2]");
			}
		else if(!strlen(tmp2))
			{
			ChangeVehicleColor(GetPlayerVehicleID(playerid),strval(tmp),strval(tmp));
			}
			return 1;
			}