09.09.2014, 11:05
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:
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.
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]);