Need help with PAWN
#1

Hello, I am trying to find a way of taking off /rentcar when you enter a car. Basically we want it so you enter a car and just drive it. When people enter cars, two options come up. /rentcar or /exit. If someone could remove it for us or just tell us how to it would be much appreciated. Thanks!
Reply
#2

Put it in the top of command:

pawn Код:
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) return SendClientMessage(playerid,changecolor,"[ERROR] Get off the vehicle and try again");
/\ This will avoid the rent while the player be is in a vehicle.

To we remove the gametexts, or messages, post your code.
Reply
#3

What you would need to do is remove the /rentcar command itself. And also all of the varibles of the /rentcar cmd out of the script.. I did it before as i hate the rentcar feature myself.

Zach
Reply
#4

Thanks guys! The server is now up and running great. Thanks a ton
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)