SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 04/06/2014, 09:34 AM   #4921
Naresh
Huge Clucker
 
Naresh's Avatar
 
Join Date: May 2014
Location: India,Tamil nadu, Chennai
Posts: 437
Reputation: 27
Default Re: PPC_Trucking V1

Srry for 2x post again but i cant see it in the class menu

i added the last line to the PPC_Gamemodeint

AddPlayerClass(16, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0); // Class 20 = Roadworker
AddPlayerClass(27, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0); // Class 21 = Roadworker
AddPlayerClass(260, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0); // Class 22 = Roadworker
AddPlayerClass(254, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0); // Class DrugDealer [THIS LINE]

wats the bug ?
__________________
Thanks to Frag.gs and ev0lution For Hosting my server!
Thanks to All Who have helped me!
Naresh is offline   Reply With Quote
Old 04/06/2014, 02:48 PM   #4922
Tuntun
High-roller
 
Tuntun's Avatar
 
Join Date: May 2012
Posts: 1,641
Reputation: 85
Default Re: PPC_Trucking V1

What happened with my speed camera? The object isn't showing in game.

Code:
ACameras[CamID][CamObj1] = CreateObject(18880, x, y, z, 0.0, 0.0, rot);
    ACameras[CamID][CamObj2] = CreateObject(18880, x, y, z, 0.0, 0.0, rot + 180.0);
__________________
Are you an aviation fan? to get more aviation photo like:
https://www.********.com/profile.php?id=657212634354407
Tuntun is offline   Reply With Quote
Old 04/06/2014, 04:08 PM   #4923
iOxide
Huge Clucker
 
Join Date: Nov 2013
Location: Inside PAWNO
Posts: 386
Reputation: 16
Default Re: PPC_Trucking V1

Quote:
Originally Posted by Tuntun View Post
What happened with my speed camera? The object isn't showing in game.

Code:
ACameras[CamID][CamObj1] = CreateObject(18880, x, y, z, 0.0, 0.0, rot);
    ACameras[CamID][CamObj2] = CreateObject(18880, x, y, z, 0.0, 0.0, rot + 180.0);
Maybe you added some custom maps with CreateObject? SAMP only allows 1000 objects in the server. If you have already reached the maximum limit of CreateObject, you won't be able to create objects anymore. Add the maps in CreateDynamicObject format using incognito's streamer plugin and check if that works.
iOxide is offline   Reply With Quote
Old 05/06/2014, 01:09 AM   #4924
Naresh
Huge Clucker
 
Naresh's Avatar
 
Join Date: May 2014
Location: India,Tamil nadu, Chennai
Posts: 437
Reputation: 27
Default Re: PPC_Trucking V1

Yes ... always use Create Dymaic Objects to add maps..
__________________
Thanks to Frag.gs and ev0lution For Hosting my server!
Thanks to All Who have helped me!
Naresh is offline   Reply With Quote
Old 05/06/2014, 01:24 AM   #4925
hensr
Little Clucker
 
Join Date: May 2013
Posts: 24
Reputation: 6
Default Re: PPC_Trucking V1

how add new vehicles in convoy and only work if player have the same vehicle
hensr is offline   Reply With Quote
Old 05/06/2014, 03:39 AM   #4926
Naresh
Huge Clucker
 
Naresh's Avatar
 
Join Date: May 2014
Location: India,Tamil nadu, Chennai
Posts: 437
Reputation: 27
Default Re: PPC_Trucking V1

Ah i have the same problem....

any thing else ask me


Hurray i made my Drug Delaer Classs At Last!
__________________
Thanks to Frag.gs and ev0lution For Hosting my server!
Thanks to All Who have helped me!
Naresh is offline   Reply With Quote
Old 06/06/2014, 12:28 PM   #4927
iOxide
Huge Clucker
 
Join Date: Nov 2013
Location: Inside PAWNO
Posts: 386
Reputation: 16
Default Re: PPC_Trucking V1

@PowerPC erm, i need to ask something about Auto AirBreak hack report.

I have added the Andromeda and AT-400 for pilot and whenever player enters in one of those plane, the (Fake) airbreak hack report appears. Are there anyways to fix this?

I am pretty sure someone might have reported this bug already but still can you explain/suggest if there are ways to fix it?
iOxide is offline   Reply With Quote
Old 06/06/2014, 02:44 PM   #4928
BGTrucker
Huge Clucker
 
BGTrucker's Avatar
 
Join Date: Aug 2011
Location: Bulgaria
Posts: 397
Reputation: 15
Default Re: PPC_Trucking V1

Quote:
Originally Posted by iOxide View Post
@PowerPC erm, i need to ask something about Auto AirBreak hack report.

I have added the Andromeda and AT-400 for pilot and whenever player enters in one of those plane, the (Fake) airbreak hack report appears. Are there anyways to fix this?

I am pretty sure someone might have reported this bug already but still can you explain/suggest if there are ways to fix it?
Yea,I have reported that to him ingame once in his V2 test server,and he said its already fixed.To fix it in V1 for your server,you need to move this part
pawn Code:
// Store the player's current location and interior-id, otherwise anti-airbreak hack code could kick you
    GetPlayerPos(playerid, APlayerData[playerid][PreviousX], APlayerData[playerid][PreviousY], APlayerData[playerid][PreviousZ]);
    APlayerData[playerid][PreviousInt] = GetPlayerInterior(playerid);
from OnPlayerEnterVehicle to OnPlayerStateChange callback.just put it at the end of the callback before the "return 1;"
__________________
BGTrucker is offline   Reply With Quote
Old 07/06/2014, 09:58 AM   #4929
d0nTtoucH
Huge Clucker
 
d0nTtoucH's Avatar
 
Join Date: Feb 2013
Posts: 358
Reputation: -17
Default Re: PPC_Trucking V1

guys how to fix this .. bug with courier class the check point is very deep in the ground.
__________________
GameModes
Filterscripts

Last edited by d0nTtoucH; 07/06/2014 at 10:28 AM.
d0nTtoucH is offline   Reply With Quote
Old 08/06/2014, 12:14 PM   #4930
FatherTr
Little Clucker
 
FatherTr's Avatar
 
Join Date: Jun 2014
Posts: 13
Reputation: 0
Default Re: PPC_Trucking V1

Goood GM Scripts
__________________
FatherTr is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] PPC_TRUCKING ThiagoMK PortuguÍs/Portuguese 4 30/07/2013 05:44 PM
Fix id Bug in PPC_Trucking Geeboi_Mehdi Client Support 11 18/05/2013 08:02 PM
PPC_Trucking Baumann Scripting Help 1 07/12/2012 03:28 PM
PPC_Trucking Baumann Scripting Help 1 02/12/2012 02:43 PM
PPC_Trucking help Private200 Scripting Help 1 16/11/2012 08:23 AM


All times are GMT. The time now is 09:00 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.