Quote:
Originally Posted by dusk
Are you talking about the "SERVER: unknown command" error?
If so, the code probably crashes somewhere.... Try downloading "crashdetect" plugin to confirm this issue.
I believe this may be the reason:
pawn Код:
VehicleNames[GetVehicleModel(GetPlayerVehicleID(targetid))-400]);
You don't check if the player is in a vehicle before it. So if playerd "targetid" isn't in a vehicle this is a "Array out of bounds" error, because -400 isn't a valid index.
|
That is the exact error. Thanks for this, but do you know of a way to fix it?