Help With SetVehicleNumberPlate
#1

Hi, i see the return of SetVehicleNumberPlate in the 0.3c RC, and i put a command with him, i already downloaded the new server version of 0.3c but look what it happens:

Код:
if(strcmp(cmd, "/plate", true) == 0)
	{
		if (PlayerInfo[playerid][pAdmin] >= 2)
	    {
			new length = strlen(cmdtext);
			while ((idx < length) && (cmdtext[idx] <= ' '))
			{
				idx++;
			}
			new offset = idx;
			new result[128];
			while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
			{
				result[idx - offset] = cmdtext[idx];
				idx++;
			}
			result[idx - offset] = EOS;
  			idx++;
  			if(!strlen(result)) return SendClientMessage(playerid, COLOR_GREY, "USE: {AA3333}/plate{AFAFAF} [plate number]");
                        SetVehicleNumberplate(GetPlayerVehicleID(playerid), result)
		}
		return 1;
	}
And Return this error:
Код:
error 017: undefined symbol "SetVehicleNumberplate"
I tried to put the native in the gamemode, and warned: symbol already defined.

Please someone help
Sry for bad english :/
Reply


Messages In This Thread
Help With SetVehicleNumberPlate - by [ExT]Montana - 01.12.2010, 20:53
Re: Help With SetVehicleNumberPlate - by Fj0rtizFredde - 01.12.2010, 20:55
Re: Help With SetVehicleNumberPlate - by 6d - 01.12.2010, 21:06
Re: Help With SetVehicleNumberPlate - by [ExT]Montana - 01.12.2010, 21:10
Re: Help With SetVehicleNumberPlate - by 6d - 01.12.2010, 21:22

Forum Jump:


Users browsing this thread: 1 Guest(s)