Trunk won't open.
#1

Hello, I'm using a normal /trunk command of a gf edit, I added "open" & "close", and the trunk doesn't open, and it can check the trunk without opening it, here's all codes.
http://pastebin.com/Cvy6MLUh
Reply
#2

I am riddled as to why you're using foreach if you're not using its variable. I won't bother examining it further, because the indentation is messed up.
Reply
#3

Would you mind helping me resolve that ?
Reply
#4

Aren't the vars like SetPVarInt(playerid, "Trunk", 1); suposed to be something like SetPVarInt(veh, "Trunk", 1); ?
Reply
#5

I've fixed it already with the PVar's, yes.
Reply
#6

Quote:
Originally Posted by Daddy Yankee
Посмотреть сообщение
Aren't the vars like SetPVarInt(playerid, "Trunk", 1); suposed to be something like SetPVarInt(veh, "Trunk", 1); ?
No, vehicle IDs aren't playerids. PVars are per-player, not vehicle.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)