Search Results
Try this for starters: pawn Код: public OnVehicleSpawn(vehicleid){    new engine, lights, alarm, doors, bonnet, boot, objective;    GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, ...
423
Try replacing: pawn Код: AddStaticPickup(1239, 2, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]); With: pawn Код: AddStaticPickup(1239, 2, BizzInfo[h][bEntranceX],...
591
pawn Код: CMD:engine(playerid, params[]){    new engine, lights, alarm, doors, bonnet, boot, objective, vehicleid, string[128];    if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return Se...
423
Can you show your OnPlayerStateChange callback?
372
This should work. Give it a shot. pawn Код: COMMAND:admins(playerid, params[]){    if(IsPlayerLogged[playerid] == 1)    {        new count = 0;        SendClientMessage(playerid, COLO...
620
Give this a shot. pawn Код: if(strcmp(cmdtext, "/mask", true) == 0){    if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)    {        if(PlayerInfo[playerid][p...
527
On a timer: pawn Код: public OnGameModeInit() //Or OnFilterScriptInit(){    SetTimer("CarTimer", 1000, true);    return 1;}forward CarTimer();public CarTimer(){    for(new i = 0; i < MAX_...
543
Try it now... pawn Код: if(issuerid != INVALID_PLAYER_ID){    if(weaponid == 34)    {            new Float:health;            GetPlayerHealth(playerid, health); //We're saving it t...
528
Try this one: pawn Код: // This is a comment // uncomment the line below if you want to write a filterscript //#define FILTERSCRIPT #include <a_samp> new robbing[MAX_PLAYERS];new alreadyrobb...
640
I would recommend you use it just in case the audio somehow doesn't stop streaming.
406
This is a rough estimate of how it should work. If there's any mistakes, give me some slack because I did it on notepad instead of pawno. pawn Код: public OnGameModeInit() //or OnFilterScriptInit...
311
Quote: Originally Posted by .v Exactly the easier way to get the X,Y,Z is to use an texdraw editor. And What I don't understand is "display it in a printf?." Obviously they want to get ...
506
It was included in the first post of the thread. pawn Код: forward LoadHouse_data(houseid,name[],value[]);public LoadHouse_data(houseid,name[],value[]){        INI_String("HouseName",House[hou...
735
Okay guys, well I have managed to fix the login system etc., but I am still confused about why my houses aren't loading properly. The labels and pickups are being created, but for some reason it's not...
735
I have a feeling it is because the input line is too long. Try this: pawn Код: #define ShowTutStepThreeDialog((%1),(%2)) \        ShowPlayerDialog((%1), (%2), DIALOG_STYLE_MSGBOX, "{00FF00}Fac...
455
https://sampwiki.blast.hk/wiki/Create3DTextLabel This?? For color embedding help see this: https://sampwiki.blast.hk/wiki/Colors
525
STRCMP pawn Код: new PlayerAFK[MAX_PLAYERS]; //At the top of your scriptpublic OnPlayerCommandText(playerid, cmdtext[]){    if(strcmp(cmdtext, "/afk", true) == 0)    {        if(PlayerAFK[...
652
Quote: Originally Posted by CaRa Create this ongamemodeinit Код: CreatePickup(1239, 23, x ,y ,z); 1239 -> ID of object, you can choose from here what object you want. 23 -> is...
525
Definitely. pawn Код: else {                if(IsPlayerAttachedObjectSlotUsed(playerid,0)){                    RemovePlayerAttachedObject(playerid,0);                }  ...
1,168