Search Results
pawn Код:
GetPlant_Owner(sqlid){Â Â new query, id;Â Â mysql_format(handle, query, sizeof(query), "SELECT `Character` FROM `characters` WHERE `ID` = '%d'", ReturnName(sqlid));Â Â new Cache:re...
96
Quote:
Originally Posted by Tihoy232
C:\Users\User.User-PC\Downloads\JakartaGamers-Roleplay-v1.6.0\JakartaGamers Roleplay\Aman\gamemodes\a.pwn(37650) : error 017: undefined symbol "PlayerD...
98
PHP код:
CMD:locker(playerid, params[]){    new string[128];    if(!IsPlayerLoggedIn(playerid))        return SendClientMessage(playerid, COLOR_GREY, "You need to loginÂ...
179
can you highlight the part which is line 13887?
179
PHP код:
CMD:engine(playerid, params[]){    new         string[265],        engine,        lights,        alarm,        doors,        bonne...
97
pawn Код:
CMD:playmusicl(playerid, params[]){Â Â if(isnull(params))Â Â Â Â return SendClientMessage(playerid, -1, "Ievadi: /playmusicl (url)");Â Â foreach(Player, i)Â Â {Â Â Â Â if(G...
105
First of all I don't get it. Why do you declare everything as a public function? LOL.
Ex. you can do this
pawn Код:
stock GetPAge(playerid) return PlayerInfo[playerid][pAge];
149
it's been years since i coded but i think this will work.
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){Â Â if(dialogid == DIALOGID)Â Â {Â Â Â Â i...
235
Quote:
Originally Posted by ZukerCup
Good Job, But please add the credits....
Done.
371
Introduction:
It's a vote system with 2 options.
Commands:
Code:
/startvote [option1] [option2] - (rcon command - start a vote)
/endvote - (rcon command - end the vote)
/vote [option] - (player com...
371
Maybe try this code:
PHP код:
CMD:admins(playerid, params[])
{
    new count, string[144];
    for(new i = 0; i < GetPlayerPoolSize(); i++)
    {
        if(Acc...
143
You don't create a object, you create a pickup.
Change CreateObject(19607, 1346.58484, 1256.81201, 10.57500, 0.00000, 0.00000, 0.00000); to
CreatePickup(19607, 1346.58484, 1256.81201, 10.57500, 0);
143
Quote:
Originally Posted by ccodey
Hey, that looks really clean and seemed like it fixed my issues. Care to explain what you changed?
Код:
CMD:mute(playerid,params[])
{
new...
157
Код:
CMD:mute(playerid, params[])
{
new targetid, targetname[MAX_PLAYER_NAME], string[144];
if(!PlayerInfo[playerid][pAdmin])
return 0;
if(sscanf(params, "u", targetid))
return Send...
157
What you basically did is copy example login-system-cache from mysql github and changed some variables name and released it as a tutorial.
https://raw.githubusercontent.com/pB...stem-cache.pwn
1,503
You can fix this bug by installing this include.
https://github.com/Open-GTO/sa-mp-fixes
132
Use zeex compiler, it'll fix your problem.
https://github.com/Zeex/pawn/releases
125
Try this code.
Код:
CMD:makedonator(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] < 1336)
return SendClientMessage(playerid, COLOR_RED, "ERROR: You can't use that command!");
new
...
91
maybe there is something wrong with the current query, try this one:
Код:
mysql_tquery(Database, "SELECT * FROM Vehicles LIMIT "#MAX_PVEHICLES"", "OnVehiclesAvailable");
156