Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

Allow /paint on certain vehicles only #62

Closed
1 task done
CodeAlDente opened this issue Jan 21, 2018 · 0 comments
Closed
1 task done

Allow /paint on certain vehicles only #62

CodeAlDente opened this issue Jan 21, 2018 · 0 comments
Labels
bug Something does not work as expected. freeze-eol Freeze all issue tickets as for the end of life of SA:MP.

Comments

@CodeAlDente
Copy link
Contributor

CodeAlDente commented Jan 21, 2018

Before applying a paintjob (that costs the player), first check if the current vehicle is able to get a paintjob. Good way to check that would be to create a function like IsVehiclePaintAble(vModel) that returns true or false wheter there is a paintjob available for that vehicle.

see http://wiki.sa-mp.com/wiki/Paintjob

Additional to this:

  • Allow admins to use /paint
@CodeAlDente CodeAlDente added the bug Something does not work as expected. label Jan 21, 2018
@CodeAlDente CodeAlDente self-assigned this Jan 21, 2018
@CodeAlDente CodeAlDente mentioned this issue Jan 21, 2018
6 tasks
@CodeAlDente CodeAlDente added this to the Version 1.1.3 milestone Jan 21, 2018
@CodeAlDente CodeAlDente modified the milestones: Version 1.1.3, Version 1.1.3p1 Apr 3, 2019
@CodeAlDente CodeAlDente removed this from the Version 1.1.3p1 milestone Jun 23, 2020
@CodeAlDente CodeAlDente removed their assignment Jun 25, 2020
@CodeAlDente CodeAlDente added the freeze-eol Freeze all issue tickets as for the end of life of SA:MP. label Feb 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something does not work as expected. freeze-eol Freeze all issue tickets as for the end of life of SA:MP.
Development

No branches or pull requests

1 participant