01.12.2010, 20:53
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:
And Return this error:
I tried to put the native in the gamemode, and warned: symbol already defined.
Please someone help
Sry for bad english :/
Код:
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; }
Код:
error 017: undefined symbol "SetVehicleNumberplate"
Please someone help
Sry for bad english :/