Search Results
Check your savevehs(); function.
You save
PHP Code:
GetVehicleID(vehicleid);
as a string, use
PHP Code:
%i
370
As I said your code needs to be rewritten.
And I just gave you a slight example, not expecting it to work, just to give you an idea.
962
For example, assign variable A to a player.
new A[MAX_PLAYERS];
A[playerid] = bla bla;
then under OnPlayerDeath
if(A[playerid] == blabla) // code
962
But you never assign any variable to a player, so how do you expect the script to put a player in the same team he used to be?
From my point of view that entire script should be rewritten.
962
Where do you assign the A and B variables to the player?
962
Show your timers.
And you might want to assign the variable A and B with [MAX_PLAYERS];.
if(A[playerid]).
962
It depends on what saving system your script uses.
Although it's quite user unfriendly if you'd ask me.
739
Check the file where the player's inputtext is getting stored.
Then check if the player's inputtext matches one of the stored inputtext from the file, if yes return error.
Hope you get it.
549
Remove or comment your other 'drift2' command and paste the one I made anywhere outside a callback.
824
PHP код:
CMD:drift2(playerid, params[]){ new vid = GetPlayerVehicleID(playerid); SetPlayerPos(); // set player pos SetPlayerVirtualWorld(); // set player vw ...
824
PHP код:
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT || GetPVarInt(playerid, "Injured") == 1)
521
Wauw, very nice...
Actually the first time I've seen such thing, keep it up!
4,720
I hope the command does even exist, right?
495
I'd say; Create a command that checks a certain IP address and then check if there are more than one accounts registered on the same IP Address.
836
Wauw, that simple thing fixed it, thanks.
630
Yep, I am not connecting twice from the same script, once each script.
Script 1:
PHP код:
new mysql;#define MYSQL_H "localhost"#define MYSQL_U "anol_4voetba"#define MYSQL_D "zanol_4voe...
630
I have recently opened a second server on the same host with the same "mysql_host" and "mysql_user" name.
Ever since I have the second server it says that the mysql_connection already exists in the my...
630
