Search Results
You need to set the timer for each player instead of globally.
178
I can bet this one is wrong?
pawn Код:
if(PlayerInfo[playerid][pAdminLevel] < 3)
113
Do you want them to choose a unique licenseplate or do you want to create a licenseplate from their name? And how should this work? On player owned vehicles or on vehicles they enter?
121
pawn Код:
if(engine != 1){// start it}else{// shut it down}
105
Replace
pawn Код:
new vid = GetVehicleModel(vehicleid);
With
pawn Код:
new vid = GetVehicleModel(GetPlayerVehicleID(playerid));
134
Do you define SpawnType OnDialogResponse?
197
How do you detect a players team (variables, callbacks)?
168
Quote:
Originally Posted by Sergei
' is not " and not `. ' is to be put around string values. I find it stupid when people ask basic questions about SQL and they have hundreas of ` and ' s...
211
This would be enough:
pawn Код:
if(GetPlayerState(playerid) != 2) return SendClientMessage(playerid, COLOR_RED, "[ERROR] You cannot use this command while you are not the driver of a vehicle!");Ge...
157
Why the heck would you want people to buy cells. But that's not hard. What command base are you using?
186
Are you talking about cellphones? And what is this all about?
Quote:
Originally Posted by odlemoreten
teleportefd like forward right in the cell?
186
It's not that hard imo.
First of all make a table structure, then it's just a simple query.
Код:
CREATE TABLE IF NOT EXISTS `bans` (
`name` varchar(50) NOT NULL,
`ip` varchar(16) NOT NULL,
...
377
pawn Код:
COMMAND:savevehicle(playerid, params[]){ if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFF0000AA, "ERROR: You can't use this command!"); if(!IsPlayerInAnyVeh...
265
I don't know what database structure you are using but.
Add this before SetPlayerName():
pawn Код:
new query[128];format(query, sizeof(query), "UPDATE `players` SET `name` = '%s' WHERE `name...
106
Make a variable called SpawnType or something.
197