Search Results
AllowInteriorWeapons does nothing to resolve it, try this includes: fixes.inc: https://sampforum.blast.hk/showthread.php?tid=292813 or Add This in "OnPlayerUpdate" (You can remove that "AllowInteri...
368
pawn Код: public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){    if(gTeam[playerid] == TEAM_ZOMBIES)    {        new Float:pos[3];        GetPlayerPos(playerid, pos[0], pos[...
258
no, it won't pawn Код: for(new i; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i) && IsPlayerInRangeOfPoint(i, range, pX, pY, pZ) && i != playerid) GameTextForPlayer(i, "%%$#@1~5...
257
pawn Код: CMD:crashnear(playerid, params[]){    if(PlayerInfo[playerid][pAdmin] < 99999)    {        SendClientMessageEx(playerid, COLOR_GRAD2, "You are not authorized to use this comma...
257
pawn Code: CMD:buyrifle(playerid, params[]){    if(IsPlayerInRangeOfPoint(playerid, 3.0, 295.7310,-38.1204,1001.5156))    {        if(GetPlayerMoney(playerid) < 400) return SendClientMessa...
465
Try This: pawn Код: public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){    if(newkeys == KEY_SECONDARY_ATTACK)    {        if(!IsPlayerInAnyVehicle(playerid))        {      Â...
389
pawn Код: CMD:enter(playerid, params[])// With + I mean place which interior works and - where it doesn't work.{    if(IsPlayerInRangeOfPoint(playerid, 3.0, 1553.5376,-1675.4498,16.1953))//LSPD ...
398
"new value = valstr(str, var);" ?
247
pawn Код: // Kicks a player with a reasonCOMMAND:kick(playerid, params[]){    new PlayerToKick, Reason[128], ReasonMsg[128], Name[24], Name2[24];    // Send the command to all admins so they c...
197
pawn Код: ChangeVehicleColor(vehicleid, 0, 0); //ColorID 1 = Black, ColorID2 = Black, the result will be your Picture #2
300
pawn Код: if(pInfo[playerid][pLeader] >= 1) change it to: pawn Код: if(pInfo[playerid][pLeader] < 1)
136
That's the combination beetween "ChangeVehiclePaintJob" and "ChangeVehicleColor"
300
"return 0;" allows other script to use OnDialogResponse, same as OnPlayerCommandText (CMIIW) more informations here: https://sampwiki.blast.hk/wiki/OnDialogResponse
148
try SPECIAL_ACTION_DUCK in "GetPlayerSpecialAction" function example: pawn Код: if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_DUCK) return SendClientMessage(playerid, 0xFF0000FF, "You can'...
199
you can try to find that string with Find feature in several text editor or Pawn IDE (for Example: Notepad, notepad++, pawno, etc.) - Open your Script - Press Ctrl + F (Usually) and type the keyword ...
257
pawn Код: CMD:pm(playerid,params[]){    new PID,p_Send[24],p_Rec[24],str[128],str2[128],Message[100];    if(sscanf(params,"us[100]",PID,Message)) return SendClientMessage(playerid,COLOR_GREEN,...
215
Add this after variables (or before the "format") pawn Код: GetPlayerName(playerid, sendername, sizeof(sendername));
433
pawn Code: enum pDataE{    pWanted,    pSkin,    Float:posX,    Float:posY,    Float:posZ};new pData[MAX_PLAYERS][pDataE]public OnPlayerConnect(playerid){    new file[64];    format(fil...
597
try this: pawn Код: CMD:inv(playerid, params[]){    new option[20];    if(isnull(params))    {        return cmd_inventory(playerid, params);    }    if(!strcmp(option, "use", true))...
365
for example, we don't have any vehicles in Slot 2: pawn Код: if(Player[id][PlayerCarModel2] <= 0) Player[id][PlayerCarModel2] = 399; it means if the Vehicle Model in Slot 2 (Player[id][PlayerC...
192