[GameMode] PPC_Trucking V1
#81

When I try to compile I have 17 errors, (Im a newbie)
Reply
#82

wats the errors
Reply
#83

Nice work!
Reply
#84

commands work only with ids 1 2 3 4 0, if you set something for id 5 or more, the grantee is the id 0.
I think that is because sscanf problem with include in version PPC_Trucking5 gave only to set things for id 0, as in version 6, is to give 0 1 2 3 and 4.
Reply
#85

Quote:
Originally Posted by Trucker[UK]
View Post
wats the errors
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Common.inc(51) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Common.inc(140) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Common.inc(271) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Common.inc(315) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Housing.inc(15) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Housing.inc(22) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Housing.inc(42) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Housing.inc(45) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Housing.inc(89) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Housing.inc(114) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Housing.inc(130) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Housing.inc(165) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Housing.inc(204) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Housing.inc(263) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Housing.inc(300) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Housing.inc(333) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Housing.inc(353) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Business.inc(33) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_GameModeInit.inc(11) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_GameModeInit.inc(15) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_FileOperations.inc(4) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_FileOperations.inc(59) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_FileOperations.inc(169) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_FileOperations.inc(292) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_FileOperations.inc(30 : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_FileOperations.inc(471) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_FileOperations.inc(854) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_FileOperations.inc(967) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Speedometer.inc(41) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Speedometer.inc(240) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_MissionsTrucking.inc(127) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_MissionsTrucking.inc(241) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_MissionsBus.inc(101) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_MissionsPilot.inc(212) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_MissionsPolice.inc(41) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_MissionsMafia.inc(199) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_MissionsAssistance.inc(36) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_MissionsCourier.inc(12) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_MissionsCourier.inc(81) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_MissionsCourier.inc(115) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_MissionsCourier.inc(115) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Convoys.inc(27) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Convoys.inc(61) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Convoys.inc(457) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Dialogs.inc(4) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Dialogs.inc(959) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Dialogs.inc(1170) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Dialogs.inc(1384) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Dialogs.inc(1429) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Dialogs.inc(1534) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Dialogs.inc(1586) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Dialogs.inc(1611) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Dialogs.inc(1666) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Dialogs.inc(1712) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Dialogs.inc(176 : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Dialogs.inc(2110) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Dialogs.inc(2219) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Dialogs.inc(2219) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Dialogs.inc(228 : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Dialogs.inc(228 : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Dialogs.inc(2349) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_Dialogs.inc(2781) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(5) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(85) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(173) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(300) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(480) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(1469) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(1514) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(1570) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(1612) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(1682) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(2016) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(2121) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(252 : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(2597) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(2764) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(2807) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(3065) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(3175) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(3271) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(3639) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(368 : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(3737) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(3784) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(3835) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(3969) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(4022) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(4063) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(4110) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(4110) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(4200) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(4289) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(4366) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(4453) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(4544) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(4573) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(4664) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(4713) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(4773) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\pawno\includ e\PPC_PlayerCommands.inc(4823) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(12 : warning 209: function "Streamer_OnPlayerConnect" should return a value
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(131) : error 021: symbol already defined: "SetPVarInt"
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(135) : error 021: symbol already defined: "GetPlayerName"
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(137) : error 021: symbol already defined: "GetPlayerName"
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(140) : error 021: symbol already defined: "format"
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(144) : error 010: invalid function or declaration
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(147) : error 010: invalid function or declaration
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(149) : error 010: invalid function or declaration
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(152) : error 021: symbol already defined: "Kick"
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(155) : error 010: invalid function or declaration
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(159) : error 010: invalid function or declaration
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(162) : error 010: invalid function or declaration
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(164) : error 010: invalid function or declaration
C:\Users\Learner\Desktop\PPC_Trucking6\gamemodes\P PC_Trucking.pwn(165) : error 021: symbol already defined: "HouseFile_Load"
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(169) : error 021: symbol already defined: "Speedometer_Setup"
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(172) : error 010: invalid function or declaration
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(17 : error 010: invalid function or declaration
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(181) : error 010: invalid function or declaration
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(232) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(232) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(487) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(859) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(1166) : warning 219: local variable "HouseID" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(1191) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(1467) : warning 203: symbol is never used: "HouseID"
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(1467) : warning 203: symbol is never used: "Name"
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(1467) : warning 203: symbol is never used: "NewPlayerMsg"
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(1467) : warning 203: symbol is never used: "ShowRemainingBanTime"
C:\Users\Warren\Desktop\PPC_Trucking6\gamemodes\PP C_Trucking.pwn(1467) : warning 203: symbol is never used: "Speedometer_Setup"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


17 Errors.
Reply
#86

Testing it!
PS: <3
Reply
#87

Quote:
Originally Posted by Brendon_Pawn
View Post
commands work only with ids 1 2 3 4 0, if you set something for id 5 or more, the grantee is the id 0.
I think that is because sscanf problem with include in version PPC_Trucking5 gave only to set things for id 0, as in version 6, is to give 0 1 2 3 and 4.
The sscanf version hasn't been changed during the entire development time of the gamemode, so that cannot be the problem.
I'm still using that same version with the development of all my other scripts (speedometer, housing and business script), as well as my unreleased admin script.
Reply
#88

Umm, can anyone explain me how to add classes and functions to them?..

And you said we can do what we want with it. Does that mean inclusive permission to the script, or what? please im about setting every house and that up so i can realease it on sa-mp.. PLS ANSWER. Thx
Reply
#89

ok so how would i make it that the cars stay spawned instead of disappearing after a certain length of time
Reply
#90

trucker i know you or you mates hacked my forums to wreak my server and deleted the forums so anymore and im going to report you to samp forums and the forums for the website coz your actually being quite childish now ive left you alone so you should grow up and stop hassling my server

sorry power for posting this in your help section of your gamemode but this was the only way i can get in contact with him now

so enough is enough brandon
Reply
#91

Quote:
Originally Posted by Trucker[UK]
View Post
ok so how would i make it that the cars stay spawned instead of disappearing after a certain length of time
You don't wanna do that on a server which has more than 10 players, trust me.
My housing filterscript supports this, but with extreme caution. That option should only be used for private LAN-servers with a very small amount of players. I don't even use it on my own test-server with only 2 players (me and my son).
But I added it to the script because people keep asking about it (but they'll soon turn it off after getting complaints about lost vehicles).

Let's say your server has 100 active players and each one has 2 houses with 10 cars per house.
That's a total of 100 players x 2 houses x 10 cars = 2000 cars.

So you've reached the samp limit already.
Also, when you start the server, there are already 290 mission vehicles.
So you've gone way over the limit with those 2290 vehicles.

The last 290 vehicles will never be created and your players will go very mad and leave your server.
Just because they bought a car and never got it because you reached the samp limit, which cannot be increased.
They'll think your server is bugged and try to buy a new vehicle, which will also fail.
Eventually they'll leave.

So leaving vehicles spawned isn't a good idea.
Unless you really create houses with a max level of 2 (to allow a maximum of 2 cars per house).

Even then you could reach the limit after you got 500 accounts, each with 2 houses and 2 cars per house.
Then you'll have the same situation (500 players x 2 houses x 2 cars = 2000 cars).
Reply
#92

Quote:

Quote:
Originally Posted by Lookin View Post
hows V2 Coming Along Mate
It's quite difficult to protect the missions of the players from the route-editor.

Nothing may end up bugged while using the route-editor.
This is hard to code.

During a mission, data from the chosen route is retrieved from the route-data.
When an admin would change this data, the mission may end up bugged (the entire route can also be deleted by the route-editor).

So I need to adjust the mission-code for all classes that are currently implemented.

To do this, when starting a mission, all route-data is backed up in the player's profile, but the code must be rewritten to get the data from there instead of the route-data in the database.

So, when a player finally has it's mission started, the entire route may be deleted by the route-editor and the player won't have any negative downsides, because the data is retrieved from his own account.

But alot more has to be edited to protect it all.
A player can open the /work dialogs to setup their own mission, but this entire system needs to be protected from any changes in the routes.

You could type /work and select the option to setup your own load.
Then the entire list of cargo-types is shown (these also represent the routes).
During the time you're deciding which cargo to transport, an admin may have deleted that route so it's no longer valid to be chosen.

But it's still shown in your dialog and you could choose an invalid route.
All this needs to be protected so you can't setup an invalid route, bugging your mission even before it started.

This is alot of code to rewrite and I cannot proceed with anything else before all this code is adjusted.

Very Nice love Your Work And Am Looking Forward To Seeing The Up Coming Release
Reply
#93

Hey PPC, i modificate somes INC, but when i want compile the GM i get this:
Code:
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(5) : error 021: symbol already defined: "RewardPlayer"
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(15) : error 021: symbol already defined: "Vehicle_AddStatic"
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(33) : error 021: symbol already defined: "Vehicle_Create"
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(49) : error 021: symbol already defined: "Vehicle_Delete"
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(94) : error 021: symbol already defined: "Locations_CheckDistance"
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(118) : error 021: symbol already defined: "Player_PortOutAdminZone"
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(138) : error 021: symbol already defined: "SendAdminText"
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(164) : error 021: symbol already defined: "Player_FreezeTimer"
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(189) : error 021: symbol already defined: "CommandList_Create"
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(241) : error 021: symbol already defined: "IsVehicleAirVehicle"
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(253) : error 021: symbol already defined: "SetupSpeedCamera"
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(269) : error 021: symbol already defined: "SendReportToAdmins"
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(313) : error 021: symbol already defined: "AddReport"
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(356) : error 021: symbol already defined: "GetFirstThreeDigitsFromIP"
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(384) : error 021: symbol already defined: "Timer_TimedMessages"
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(401) : error 021: symbol already defined: "ShowRandomBonusMission"
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(481) : error 021: symbol already defined: "ShowBankMenu"
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(501) : error 021: symbol already defined: "Bank_IntrestTimer"
C:\Users\Alumno\Documents\Mis archivos recibidos\Trucking by Nikkaa\Trucking by Nikkaa\pawno\include\PPC_Common.inc(546) : error 021: symbol already defined: "HelpList_Create"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


19 Errors.
Plz help me,Thanks
Reply
#94

This function already somewhere is applied... Probably at you two files PPC_Common.inc!
Reply
#95

hhhmmmmm I put more cars in using mta and convertffs but none of the cars have petrol how do I fix this ?
Reply
#96

after you converted the cars from mta where are you placing the vehicles

but ill tell you where to put them anyway just incase

you need to goto pawno/includes/PPC_Gamemodeinit

look for (this is just an example)

// Add trucks and trailers to the truck-stops
GameModeInit_TruckDepots()
{
// Add trailers, trucks , Flatbeds and "DFT-30" to Fallen Tree Depot (Class 0)
LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -475.0, -523.0, 26.0, 90.0, random(126), random(126), 600); // Cargo trailer
LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, -475.0, -518.0, 26.0, 90.0, random(126), random(126), 600); // Ore trailer

then if you got a new class add your own then you must make sure that have have what i posted below

// Add some banshees to yakuza base
GameModeInit_Yakuza();

this is close to the top of the include

then below under all your other classes


// Add Banshees
GameModeInit_Yakuza()
{
//Add banshees to Yakuza base sf
LastVehicleID = Vehicle_AddStatic(VehicleBanshee, -475.0, -523.0, 26.0, 90.0, random(126), random(126), 600); // Banshee


but if this is the case you must define the vehicle in the pawno/includes/PPC_Defines
if it isnt define already

if you adding extra vehicles to like truckers just go straight to the

//Add banshees to Yakuza base sf
LastVehicleID = Vehicle_AddStatic(VehicleBanshee, -475.0, -523.0, 26.0, 90.0, random(126), random(126), 600); // Banshee

Section of the selected class you are adding vehicles to or depos so trucker look for trucker ect ect

thats the only way i can think of that the cars have no fuel coz you cannot add them via Addstaticvehicle like in a filterscript coz they will have no fuel

i hope this helps
Reply
#97

Lol, my friend asks how you can edit "max houses" for a player.. currently it's 2.
Reply
#98

Quote:
Originally Posted by 12kelvin12
View Post
sorry if this has been asked before but how do i make my self a admin?
Go into scriptfiles/serverdata/players

Then find your user open it up change level to what ever admin level you want
Reply
#99

Quote:
Originally Posted by Michael@Belgium
View Post
Lol, my friend asks how you can edit "max houses" for a player.. currently it's 2.
Go into pawno/include/PPC_SErverSettings.inc

open it and line 32 #define MAX_HOUSESPERPLAYER 5 // Defines the maximum number of houses that any player can own

So there I have set it too 5 dont set it to more than 10



(If this help give me some rep :P)
Reply

Where i can change the font of the textdraw :/ ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)