Search Results
Make sure ontop of script you have ON_DRUGS [MAX_PLAYERS] And not just [playerid], that would only apply the thing to ID 0.
152
Delete this line new string[128]; And it will work just fine
133
let me explain you something newkeys mean if the player has changed his keys to something else it will use them (if a player's KEY_YES button was Y and he changed to Z, he'll need to click Z for the K...
130
No don't have to use an oldkey you can use something like this pawn Код: if(!IsPlayerInAnyVehicle(playerid))    {        if(newkeys == KEY_YES)        {              SendClientMes...
130
Use pawn Код: SetVehicleParams to toggle the engine/doors/lights/alarm status and those. Check out https://sampwiki.blast.hk/wiki/SetVehicleParamsEx for more information.
269
Thanks for the positive comment
393
How to detect a button being pressed: pawn Код: public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) Here's a link to all of the KEY_'s https://sampwiki.blast.hk/wiki/GetPlayerKeys#Key_List ...
130
Download link works. Copy the code from Pastebin to your script folder's OnGameModeInit() or into the LoadObjects() or anything. Thanks though.
393
You don't have the ProxDetector stock. pawn Код: forward ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5); pawn Код: public ProxDetector(Float:radi, playerid, string[],c...
101
Quote: Originally Posted by ExtendedCarbon I've got Код: COMMAND:lv(playerid, params[]) { SetVehiclePos(vehicleid, 2005.7919,1544.5870,13.5042) SetPlayerVirtualWorld(player...
126
Alright so there are spawned vehicles in the server, right? Every a while they just, respawn themselves for no reason. I CTRL+F'ed a SetVehicleToRespawn, found some results and none are related.. Any ...
62
Stop bullshiting, that isn't any s0b. That is TVOpcode's cleo hack pack, don't say what you don't know.
188
Hey.. how to make the checkpoint STAY and NOT DISAPPEAR once a player steps into it? pawn Код: public OnPlayerEnterDynamicCP(playerid, checkpointid){    for(new idx=1; idx<MAX_HOUSES; idx++)Â...
39
Hey, I was trying to make a LS-RP-like 2 lined /me and /do, texts, etc, however.. I managed to make it two lined but i find it impossible to keep writing until it wont let you write anymore - like blo...
48
El Corona [Cesar's House and next to it.] LINK FOR EL CORONA MAPPING: http://pastebin.com/zKgdKnLm Infront of Idlewood Pizza Stack: LINK FOR CHILLING PLACE IDLESTACK: http://pastebin.com/QkZNqY89 ...
393
Create a pModel / pSkin / pChar Every time that you change a player's skin use like pawn Код: CMD:setskin(playerid, params[]){      new amount;      if(sscanf(params, "ui", giveplayerid, amo...
97
Under the #define COLOR_X 0x... under all those add pawn Код: #define MAX_CONNECTIONS_FROM_IP 3 pawn Код: public OnPlayerConnect(playerid) pawn Код: // MAX IPS    new connecting_ip[32+1...
213
Quote: Originally Posted by Jessyy I see a lot of people complaining about password security even for whirlpool... and 1 by 1 comes with a new idea how make our lives harder... for example...
121
Код: CMD:takedrugs(playerid, params[]) {new giveplayerid; if(sscanf(params, "u", giveplayerid) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /takedrugs [playerid]"); PlayerInfo[giveplaye...
162
Код: PlayerTextDrawHide(playerid,TextDraw1); That causes the textdraw to disappear from the screen, Код: TextDrawHideForPlayer(playerid,Textdraw1); Try that instead.
65