Search Results
^^ What that guy said. As for the unreachable code copy and paste this in. pawn Код: CMD:XXXXXX (playerid, params[]){    if(pVariable != 0 && IsPlayerInRangeOfPoint(playerid,XXXXXXXXXXX...
183
pawn Код: CMD:pm(playerid, params[]){    new string[128], message[128], id;    if(sscanf(params, "uz", id, message))    {        SendClientMessage(playerid, -1, "SYNTAX: /pm [playerid] [...
116
pawn Код: HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testl...
134
pawn Код: enum pInfo{    pPass,    pCash,    pAdmin,    pKills,    pDeaths}new PlayerInfo[MAX_PLAYERS][pInfo]; pawn Код: public OnPlayerDisconnect(playerid, reason){    new INI:Fi...
196
Quote: Originally Posted by kirollos well, about the #pragma tabsize 0 cant be written at the top of the script. it should be written after the includes. ask me why, because when you ...
138
For the indentation errors, learn to indent; or use this, place it at the TOP of your script, under all your includes. pawn Код: #pragma tabsize 0 For the other errors, post your code.
138
He clearly stated Quote: Ok Ok Can someone convert that ? After he was told about DCMD and YCMD being faster.
197
Send me in PM or post here your commands you want converted, and post what processor - ycmd or anything else, preferably ycmd as it is the fastest next to zcmd. Also use [pawn] tags.
197
Please download native checker and then post your console. https://sampforum.blast.hk/showthread.php?tid=249226
102
I'm new to scripting, and I am completely stuck on "error 035: argument type mismatch (argument 4)" it comes up on my Dialog Responses. pawn Код: public OnDialogResponse(playerid, dialogid, respo...
97
pawn Код: public OnPlayerCommandText(playerid, cmdtext[]){    if (strcmp("/createhouse", cmdtext, true, 10) == 0)    {        if(IsPlayerAdmin(playerid))        {            new ...
112
pawn Код: CMD:heal(playerid, params[]){      if pTeam[playerid] = TEAM_MEDIC;      new Float:health;      GetPlayerHealth(playerid,health);      SetPlayerHealth(playerid, health+30);} ...
101
Whats your player name defined as?
75
pawn Код: GivePlayerMoney(playerid, 1200);GivePlayerMoney(otherplayer, -1200); I didn't know what you defined it as, try that
189
pawn Код: GivePlayerMoney(playerid, 1200);GivePlayerMoney(targetid, -1200);
189
Go to your PAWNO and then slam your finger on F5, make sure you have the gamemode opened :3
153
pawn Код: dcmd_cuffed(playerid, params[]){    if(AccInfo[playerid][LoggedIn] == 1)        {            if(AccInfo[playerid][Level] >= 2)            {                Se...
121
pawn Код: CMD:cuffed(playerid, params[]){    if(AccInfo[playerid][LoggedIn] == 1)        {            if(AccInfo[playerid][Level] >= 2)            {                Set...
121