Search Results
pawn Код: COMMAND:GODON(playerid, params[5]){SetPlayerHealth(playerid, 99999);}
105
Is PlayerInfo[playerid][pKey] a string?
120
else if (isplayerwell[playerid] == false && health >= 30) { ClearAnimations(playerid); isplayerwell[playerid] = true; }
151
pawn Code: if(strcmp(cmdtext, "/respawncars", true) == 0)    {        if (IsPlayerAdmin(playerid))        {            new inVeh = 0;            for(new i = 0; i < MAX_VEHICL...
127
pawn Код: forward Lotto(number);if(strcmp(cmd, "/startlotto", true) == 0)    {        if(IsPlayerConnected(playerid))        {            if(PlayerInfo[playerid][pAdmin] >= 1337...
54
pawn Код: #include <a_samp>public OnPlayerConnect(playerid){    DisablePlayerCheckpoint(playerid);    return 1;}public OnPlayerEnterCheckpoint(playerid){    ShowPlayerDialog(playerid, ...
135
pawn Code: new inVeh = 0;    for(new i = 0; i < MAX_VEHICLES; i++)    {        for (new j = 0; j < MAX_PLAYERS; j++)        {            if (IsPlayerInVehicle(j, i))      Â...
127
pawn Код: public OnPlayerConnect(playerid){    DisablePlayerCheckpoint(playerid);    SetPlayerCheckpoint(playerid, 2.1507,-29.0139,1003.5494, 2.0);    return 1;}public OnPlayerEnterCheckpoin...
135
Not tested pawn Код: #include <a_samp>new spamCount[MAX_PLAYERS];new previousWord[MAX_PLAYERS][128];public OnGameModeInit(){    SetTimer("antiSpam", 5000, 1);}public OnPlayerConnect(playe...
161
Put this outside the loop pawn Код: SetWorldTime(12);//12:00 and this under OnPlayerConnect pawn Код: TogglePlayerClock(playerid, 0); // hide the clock
107
pawn Код: for(new i = 0; i < 247; i++)    {        if(PlayerToPoint(2.0,i,2.1507,-29.0139,1003.5494))        {            ShowPlayerDialog(i, 752, DIALOG_STYLE_LIST, "Welcome", ...
135
You will have something like this in your script pawn Код: strtok(const string[], &index){    new length = strlen(string);    while ((index < length) && (string[index] <= ' ...
171
The function will only work if the player is in a vehicle. How do you use the function ?
58
Delete the whole strtok function and replace your OnPlayerCommandText with this pawn Код: public OnPlayerCommandText(playerid, cmdtext[]){    if(strcmp(cmdtext, "/lvap", true) == 0)    {
171
pawn Код: droppedWepInfo[some index][some index][0] = 0droppedWepInfo[some index][some index][1] = 0//etc or something
133
You never actually reset any info in your enum, you just update it. If the file doesn't exist, then you need to reset/delete the info in the enum for that file/weapon
133
Do you even have a database running on your computer?
106
Try this pawn Код: new robmoney[MAX_PLAYERS];public pRobTimer(playerid){    robmoney[playerid] += random(50000);    pRobCount[playerid]--;    IsRobbing[playerid] =1;    new rbgt[128];  Â...
66
Use dUserSetFLOAT Код: dUserSetFLOAT(PlayerName2(playerid)).("X",CarInfo[IsOwner[vehicleid]][CarX]); dUserFLOAT(PlayerName2(playerid)).("X");
82
Print out the inputtext to see if it holds the suggestion. If It's the same as the text you entered in the dialog, then It's a problem with your database
99