Search Results
pawn Код: COMMAND:GODON(playerid, params[5]){SetPlayerHealth(playerid, 99999);}
8
Is PlayerInfo[playerid][pKey] a string?
8
else if (isplayerwell[playerid] == false && health >= 30) { ClearAnimations(playerid); isplayerwell[playerid] = true; }
8
pawn Code: if(strcmp(cmdtext, "/respawncars", true) == 0)    {        if (IsPlayerAdmin(playerid))        {            new inVeh = 0;            for(new i = 0; i < MAX_VEHICLES; i++)            { ...
8
pawn Код: forward Lotto(number);if(strcmp(cmd, "/startlotto", true) == 0)    {        if(IsPlayerConnected(playerid))        {            if(PlayerInfo[playerid][pAdmin] >= 1337)            {     ...
7
pawn Код: #include <a_samp>public OnPlayerConnect(playerid){    DisablePlayerCheckpoint(playerid);    return 1;}public OnPlayerEnterCheckpoint(playerid){    ShowPlayerDialog(playerid, 752, DIAL...
9
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))            {               ...
8
pawn Код: public OnPlayerConnect(playerid){    DisablePlayerCheckpoint(playerid);    SetPlayerCheckpoint(playerid, 2.1507,-29.0139,1003.5494, 2.0);    return 1;}public OnPlayerEnterCheckpoint(playeri...
9
Not tested pawn Код: #include <a_samp>new spamCount[MAX_PLAYERS];new previousWord[MAX_PLAYERS][128];public OnGameModeInit(){    SetTimer("antiSpam", 5000, 1);}public OnPlayerConnect(playerid){...
8
Put this outside the loop pawn Код: SetWorldTime(12);//12:00 and this under OnPlayerConnect pawn Код: TogglePlayerClock(playerid, 0); // hide the clock
7
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", "Radio($150) \nBase...
9
You will have something like this in your script pawn Код: strtok(const string[], &index){    new length = strlen(string);    while ((index < length) && (string[index] <= ' '))    ...
12
The function will only work if the player is in a vehicle. How do you use the function ?
12
Delete the whole strtok function and replace your OnPlayerCommandText with this pawn Код: public OnPlayerCommandText(playerid, cmdtext[]){    if(strcmp(cmdtext, "/lvap", true) == 0)    {
12
pawn Код: droppedWepInfo[some index][some index][0] = 0droppedWepInfo[some index][some index][1] = 0//etc or something
8
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
8
Do you even have a database running on your computer?
7
Try this pawn Код: new robmoney[MAX_PLAYERS];public pRobTimer(playerid){    robmoney[playerid] += random(50000);    pRobCount[playerid]--;    IsRobbing[playerid] =1;    new rbgt[128];    format(rbgt...
7
Use dUserSetFLOAT Код: dUserSetFLOAT(PlayerName2(playerid)).("X",CarInfo[IsOwner[vehicleid]][CarX]); dUserFLOAT(PlayerName2(playerid)).("X");
7
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
7