Search Results
You must add them in callbacks that contain the parameter playerid
19
pawn Код:
CMD:r(playerid,params[]) { if(isnull(params)) return SendClientMessage(playerid, COLOR_RED, "USAGE: /r [text] to talk in team radio"); new Name[MAX_PLAYER_NAME]; GetPlayerName(playerid, ...
43
pawn Код:
public OnPlayerUpdate(playerid){ if(IsPlayerInRangeOfPoint(playerid,40, 1506.9310,-1296.2416,14.2828)) { if(GetPVarInt(playerid, "spawn") == 0) { ...
27
pawn Код:
CMD:givecash(playerid, params[]){ if(!IsCnRAdmin(playerid)) return UnknownCMD(playerid); new pID; new value; if(sscanf(params, "ud", pID, value)) return SendClientMessage...
79
pawn Код:
if(dialogid==HOSPITAL_DIALOG) { new Float:health; GetPlayerHealth(playerid, health); if(response) { ShowPlayerDialog(playerid,HOSPITAL_DIALOG,2,"Los Santos Hosp...
21
where is the original code in dini?
36
pawn Код:
CMD:info(playerid, params[]){ if (PlayerInfo[playerid][pAdmin] >= 1) { new giveplayerid; new Float:gihp, Float:giar; new name[MAX_PLAYER_NAME]; GetPlayer...
24
you can get player job with a variable like this
pawn Код:
new job1[MAX_PLAYERS];
pawn Код:
CMD:takejob1(playerid, params[]){job1[playerid] = 1;SendClientMessage(playerid, -1, "You have now ...
29
Try
pawn Код:
new name[MAX_PLAYER_NAME];new Nplayer[MAX_PLAYERS]; GetPlayerName(playerid,name,sizeof(name));// Player Name Textdraw Nplayer[playerid] =TextDrawCreate(115,416,name);// Pl...
31