Search Results
Add this to your stocks:
pawn Код:
stock GetPlayersName(playerid){Â Â new playersName[MAX_PLAYER_NAME];Â Â GetPlayerName(playerid, playersName, MAX_PLAYER_NAME);Â Â for(new i = 0; i < str...
103
Really need help, i'm stuck with my work for this
73
This:
pawn Код:
CMD:stats(playerid,params[]){Â Â new kills = pInfo[playerid][Kills], deaths = pInfo[playerid][Deaths], alevel = pInfo[playerid][Adminlevel], vlevel = pInfo[playerid][VIPlevel], ...
141
pawn Код:
CMD:m(playerid, text[]) return cmd_megaphone(playerid, text);CMD:megaphone(playerid, text[]){Â Â if(PlayerMuteInfo[playerid][AllMuted]) return SendClientMessage(playerid, TEAM_CYAN_COL...
115
You've switched cash and score, maybe this was the problem,
try this
pawn Код:
CMD:stats(playerid,params[]){Â Â new kills = pInfo[playerid][Kills], deaths = pInfo[playerid][Deaths], alevel = pI...
141
I don't really know what you're doing but try this:
pawn Код:
CMD:m(playerid, text[]) return cmd_megaphone(playerid, text);CMD:megaphone(playerid, text[]){Â Â if(PlayerMuteInfo[playerid][AllMut...
115
Try this:
pawn Код:
CMD:me(playerid, params[]){Â Â if(isnull(params)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /me [action]");Â Â Â Â new string[126];Â Â format(string, sizeo...
115
I want help for spawning player in hospital after death, but it seems that i have a problem with that.
Here are my codes:
pawn Код:
new Dead[MAX_PLAYERS];public OnPlayerDeath(playerid, killerid, r...
73
pawn Код:
new interior = GetPlayerInterior(playerid);if(interior != 0) return SendClientMessage(playerid, COLOR_GREY, "You can't spawn vehicle in interior");
80
Okay, here's the command.
pawn Код:
CMD:saveonfoot(playerid, params[]){Â Â if(gPlayerLoggedIn[playerid] == 0) return 1;Â Â if(KasutajaInfo[playerid][kAdmin] < 3) {Â Â Â Â SendClientMess...
191
I knew it was from the zcmd, but in my other GM, the zcmd isn't included and it works like a charm.
But if i include zcmd in this GM, it crashes the compiler
191
I have this cmd at the bottom of my GM:
pawn Код:
CMD:saveonfoot(playerid, params[])
And it gives me a warning and doesn't work in-<a class="inlineAdmedialink" href="#">game</a>:
КÐ...
191
@RockingCamman: No, you're getting it wrong, where do you see "s" in this line:
pawn Код:
format(string,sizeof(string),PATH,playername);
@VincentDunn: Yes it is,
pawn Код:
#define PATH "/Kasu...
116
Sorry for doublepost, but i wanted to say that it's working on my other GM,
why it doesn't do that here?
116
I have this TextDraw bottom of the screen and i want it to be on the right side of the screen.
75
Yup, it helped, thanks man.
93
Sorry for doubleposting, but i need it fast.
93
But if the player is in the race and reconnects, then they can tele to him, so you must save the variable.
99
Okay, i want to do something under this:
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate){Â if(newstate == 2)
It must detect, if player's engine is not running, and say "/engin...
93