Repair Vehicle HELP
#1

FIXED! Thank you to everyone who helped me!
Reply
#2

BTW the line 9478 is

Код:
SendClientMessage(playerid, "Usage: /repairveh to repair any vehicle");
Reply
#3

At
pawn Код:
SendClientMessage(playerid, "Usage: /repairveh to repair any vehicle");
Add the color.

And add
pawn Код:
vehicleid = GetPlayerVehicleID(playerid);
Reply
#4

You're missing a paramter
Try this
pawn Код:
SendClientMessage(playerid, -1,"Usage: /repairveh to repair any vehicle");
Reply
#5

Quote:
Originally Posted by judothijs
Посмотреть сообщение
At
pawn Код:
SendClientMessage(playerid, "Usage: /repairveh to repair any vehicle");
Add the color.
OMG i can't believe i didn't notice that. Thank you ! Now the only problem is the line

9479 and 9482
Reply
#6

Just edited my post with the other lines
Reply
#7

Where should I add the
vehicleid = GetPlayerVehicleID(playerid);

is it below "else" sir ?
Reply
#8

Yes, below the else{
Reply
#9

I still got errors sir..

error 017: undefined symbol "vehicleid"
Reply
#10

Oops my bad, add 'new' infront of it, so it becomes
pawn Код:
new vehicleid = GetPlayerVehicleID(playerid);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)