SA-MP Forums Archive
[ This Vehicle is Owned by: %s ] MSG - 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: [ This Vehicle is Owned by: %s ] MSG (/showthread.php?tid=68291)



[ This Vehicle is Owned by: %s ] MSG - Castle - 08.03.2009

Ok, I made this kinda MSG when a Player enters a Car that is Owned he gets a MSG..
Placed it here: http://pastebin.com/d5a41035f (( Pastebin UPDATED 9/3/09 00:12PM +2GMT ))
And it give no Error's Thank God, but it doesn't show in the Server when i Test it... with a Owned Vehicle


Re: [ This Vehicle is Owned by: %s ] MSG - Castle - 08.03.2009

*Bump*
Any1?


Re: [ This Vehicle is Owned by: %s ] MSG - Norn - 08.03.2009

Well, if your using godfather saving methods, then the file will start at 0, and vehicle id's start at 1.

Have you tried, GetPlayerVehicleID(playerid)-1?


Re: [ This Vehicle is Owned by: %s ] MSG - Castle - 08.03.2009

Well yes I'm using GF GameMode. But the Car Ownership system was implanted by me from a Filterscript
the thing is I'm trying to figure out the problem for about 2.5 Hours now..

Ohh and I tried adding -1 to the GetPlayerVehicleID(playerid) didn't work either...

UPDATE of Pastebin: http://pastebin.com/d5a41035f


Re: [ This Vehicle is Owned by: %s ] MSG - Dujma - 08.03.2009

Why do you need this?

Код:
new plyName[MAX_PLAYER_NAME];
GetPlayerName(playerid, plyName, MAX_PLAYER_NAME);
And please show us the car enums

And wtf is this?


Код:
new buffer[512];
new buffer2[512];
512 size?


Re: [ This Vehicle is Owned by: %s ] MSG - Castle - 08.03.2009

i'm from my cellphone, ill post the enums in the morning