help with error
#1

well i keep getting these 2 errors



error 033: array must be indexed (variable "tmp")

error 033: array must be indexed (variable "tmp")


heres the code

public OnPlayerCommandText(playerid, cmdtext[])
{
new cmd[256], idx;new tmp[256];new string[128];
new vehicleid = GetPlayerVehicleID(playerid);
cmd = strtok(cmdtext, idx)
tmp = strtok(cmdtext, idx)



also it disables some locked cars. for example, only cops can enter a lspd car. now anyone can!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)