SA-MP Forums Archive
Adminduty problem !! Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Adminduty problem !! Help (/showthread.php?tid=266349)



Adminduty problem !! Help - Stuf - 04.07.2011

Hello i have a problem with admin duty. When i turn admin duty on i get in car and i write /engine and the cars engine is not starting up. Its doesnt do anything. And the second problem is that when i set me admin i want to buy car, but its say's that i m alredy have a three vehicle.
Here is my script link. http://uploading.com/files/3b83c7fb/orginal.pwn/
P.S Sorry for my english. The script Languge is Latvian, but i think you can find the mistake


Re: Adminduty problem !! Help - Shadoww5 - 04.07.2011

Quote:
Originally Posted by Stuf
Посмотреть сообщение
Hello i have a problem with admin duty. When i turn admin duty on i get in car and i write /engine and the cars engine is not starting up. Its doesnt do anything.
Put this in place of line 17942:

PHP код:
SetVehicleParamsEx(GetPlayerVehicleID(playerid),1,lights,alarm,doors,bonnet,boot,objective); 
Quote:
Originally Posted by Stuf
Посмотреть сообщение
And the second problem is that when i set me admin i want to buy car, but its say's that i m alredy have a three vehicle.
Here is my script link. http://uploading.com/files/3b83c7fb/orginal.pwn/
P.S Sorry for my english. The script Languge is Latvian, but i think you can find the mistake
What is the command to buy a car ?


Re: Adminduty problem !! Help - Stuf - 04.07.2011

Quote:
Originally Posted by Shadoww5
Посмотреть сообщение
Put this in place of line 17942:

PHP код:
SetVehicleParamsEx(GetPlayerVehicleID(playerid),1,lights,alarm,doors,bonnet,boot,objective); 

What is the command to buy a car ?
There isn't any command to buy car, there is like this you enter the car and then it show you Menu in menu is wroted Price model.... And Buy or Cancle .


Re: Adminduty problem !! Help - Stuf - 04.07.2011

Quote:
Originally Posted by Shadoww5
Посмотреть сообщение
Put this in place of line 17942:

PHP код:
SetVehicleParamsEx(GetPlayerVehicleID(playerid),1,lights,alarm,doors,bonnet,boot,objective); 
I changed but it still dont work

What is the command to buy a car ?
There isn't any command to buy car, there is like this you enter the car and then it show you Menu in menu is wroted Price model.... And Buy or Cancle .
And the /engine command still dont work, myb beacuse i have the button Shift to start the engine... look there myb there is some mistake i cant find it


Re: Adminduty problem !! Help - =WoR=Varth - 05.07.2011

pastebin please