Search Results
I think you should create an array of position's you want like
pawn Code:
new Float:pos[15][3] = {{0,0,0}, //Replace 0,0,0 and 1,1,1 with position's {1,1,1}, //Do for all 15 positions...};
No...
241
To do this you must create a textdraw which is slightly red or you can use a Screen Fader (Click me)
124
Create a global variable
pawn Код:
new bool:teamkill = false;//by defaut teamfill is not allowedCMD:teamkill(playerid,params[]){ new status; //Check that he is admin . . ...
122
Change playercount to count.
231
You will need a ratio variale
pawn Код:
#include <a_samp>//Your Teams#define Criminal 0#define Cops 1static gTeam[MAX_PLAYERS];stock TeamCheck(teamid){ new count = 0;//for counting play...
231
Try this
pawn Код:
CMD:kill(playerid, params[]){ new id,string[128]; if(PlayerInfo[playerid][pAdmin] < 1)return NisiAdmin(playerid); if(sscanf(params, "u", id))return Koristi(pl...
228
pawn Код:
new Float:x[MAX_PLAYERS],Float:y[MAX_PLAYERS],Float:z[MAX_PLAYERS],a[MAX_PLAYERS];new vid[MAX_PLAYERS];new veh[MAX_PLAYERS];CMD:v(playerid,params) //using ZCMD{ new sc[10]; //subcom...
162
Whenever you want player to be teleported to location use
pawn Код:
SetSpawnInfo(playerid, team, skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3...
446
This will help you https://sampforum.blast.hk/showthread.php?tid=407045
177
If you do not want to encounter error like this in future then add
pawn Код:
#pragma tabsize 0
at top of your script below the include's.
257
Faied to understand the question. Try ****** translate and post question.
446
I will give you basic info how to get it.
Download Gang Zone Creator : https://sampforum.blast.hk/showthread.php?tid=372
Using this get area code for all the 3 cities
Download Streamer : https:/...
207
You will need SSCANF for that.
Download link : https://sampforum.blast.hk/showthread.php?tid=120356
Code :
pawn Код:
CMD:clansetlevel(playerid,params[]){ new id,level,fun[10]; if(ssc...
393
pawn Код:
public OnPlayerConnect(playerid){ TogglePlayerSpectating(playerid,true);//And your other functions}//After player login do TogglePlayerSpectating(playerid,false);public OnPlayerRequ...
126
you will get full list of animation here
242
You will need ZCMD and sscanf. There are TONS of tutorials to do this.
A simple command example
pawn Код:
CMD:givemp5(playerid,params[])//givemp5 is your command name{ new targetid;//The id ...
124
When attaching object x,y,z are not location of vehicle but the offset.
https://sampwiki.blast.hk/wiki/AttachObjectToVehicle
In your case they are toooo big. Rectify it.
184
pawn Код:
new tstring[200];new string[MAX_STRING];strcat(string,""embed_blue"« "embed_white"General Player Status\n");format(tstring,200,""embed_blue"« "embed_white"Name: "embed_blue"%s\n",pName...
177