SA-MP Forums

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

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

i have a new class Fire Fighter it gets speeding how to make as if it will not ? and the Job to fail timer is not working in it plz help. ty.
__________________
Thanks to Frag.gs and ev0lution For Hosting my server!
Thanks to All Who have helped me!
Naresh is offline   Reply With Quote
Old 28/06/2014, 07:13 AM   #5002
fredelfredel
Big Clucker
 
Join Date: May 2010
Location: Sibiu Romania
Posts: 81
Reputation: -1
Default Re: PPC_Trucking V1

Quote:
Originally Posted by iOxide View Post
pawn Code:
// On the top of your script add:
new Transport_Timer[MAX_PLAYERS];
new Timer_Count[MAX_PLAYERS];

//When player load their truck start the timer like:
Transport_Timer[playerid] = SetTimerEx("Counter", 1000, true, "d", playerid);

//Public functions
forward Counter(playerid);
public Counter(playerid)
{
    Timer_Count[playerid]++;
    return 1;
}

//When they unload their truck
new msg[128], minutes, seconds;
seconds = (Timer_Count[playerid] % 60);
minutes = (Timer_Count[playerid] - seconds) / 60;
format(msg, 128, "Truck driver %s transported %s from %s to %s. Total time: %i minutes and %i seconds", Name, Load, StartLoc, EndLoc, minutes, seconds);
SendClientMessageToAll(-1, msg);
Timer_Count[playerid] = -1;
KillTimer(Transport_Timer[playerid]);

//OnPlayerDisconnect
Timer_Count[playerid] = -1;
KillTimer(Transport_Timer[playerid]);

I know there are some other efficient ways too but this is what i can think of.
hmm if you can detail it
__________________
Rep for me if you like me, it help me alot
Rep+for me if i help you

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
fredelfredel is offline   Reply With Quote
Old 28/06/2014, 09:59 AM   #5003
iOxide
Huge Clucker
 
Join Date: Nov 2013
Location: Inside PAWNO
Posts: 386
Reputation: 16
Default Re: PPC_Trucking V1

Quote:
Originally Posted by fredelfredel View Post
hmm if you can detail it
Well, i made this for the guy who were asking. Its not a tutorial and if you want to know what does each functions do, use samp wiki.
iOxide is offline   Reply With Quote
Old 28/06/2014, 09:55 PM   #5004
ReD_DeVi
Banned
 
Join Date: Aug 2012
Location: In Bed Room
Posts: 520
Reputation: 34
Default Re: PPC_Trucking V1

Good game mode keep it up
ReD_DeVi is offline   Reply With Quote
Old 29/06/2014, 06:07 PM   #5005
Tuntun
High-roller
 
Tuntun's Avatar
 
Join Date: May 2012
Posts: 1,641
Reputation: 85
Default Re: PPC_Trucking V1

Well, When V2 will come ?
__________________
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 29/06/2014, 06:18 PM   #5006
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 Tuntun View Post
Well, When V2 will come ?
PowerPC havent updated in long time,seems that he doesnt have time,so obviously not coming soon.
__________________
BGTrucker is offline   Reply With Quote
Old 29/06/2014, 06:28 PM   #5007
Clad
Banned
 
Join Date: Dec 2013
Location: Detroit
Posts: 1,240
Reputation: 85
Default Re : Re: PPC_Trucking V1

Quote:
Originally Posted by Tuntun View Post
Well, When V2 will come ?
He didn't give any specific date, So, It will come when it comes :/
Clad is offline   Reply With Quote
Old 29/06/2014, 07:02 PM   #5008
(ETR)Geto244
Big Clucker
 
Join Date: Nov 2011
Posts: 122
Reputation: 2
Default Re: PPC_Trucking V1

It seems, that PowerPC is lost again. He havent post anything long time for now. Lets hope he will come back soon.
(ETR)Geto244 is offline   Reply With Quote
Old 01/07/2014, 12:21 PM   #5009
Shepster
Little Clucker
 
Join Date: Oct 2010
Location: Slovenia
Posts: 18
Reputation: 2
Default Re: PPC_Trucking V1

I love this gamemode
__________________










Shepster is offline   Reply With Quote
Old 01/07/2014, 02:35 PM   #5010
Maximun
Huge Clucker
 
Join Date: Jan 2014
Location: Localhost
Posts: 443
Reputation: 54
Default Re: PPC_Trucking V1

Nice Gamemode Thanks
Maximun 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 02:37 PM.


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