.:::::[ Cars ID > RPG mode ]:::::. - 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: .:::::[ Cars ID > RPG mode ]:::::. (
/showthread.php?tid=150870)
.:::::[ Cars ID > RPG mode ]:::::. -
DarkPower - 28.05.2010
I use GTA RP mode and i make in MTA bases for org. ( mafia ) and when i try to add car for org ( vehicle, never mine ) and put OnPlayerState change this code
pawn Код:
if(newcar == CARID|| newcar == CAR ID)
{
if(PlayerInfo[playerid][pMember] == 10||PlayerInfo[playerid][pLeader] == 10) { } // ORG ID
else
{
SendClientMessage(playerid,COLOR_GREY,"You are not in gang.");
RemovePlayerFromVehicle(playerid);
}
}
ITS WORK FINE but in GTA RP it had ownership and when i enter car ID >
it ask me for buy/sell so my question is HOW to add org. vehicles / cars ?
Re: .:::::[ Cars ID > RPG mode ]:::::. -
DarkPower - 28.05.2010
Bump