Search Results
Hello! PHP код: for(new i = 0; i < MAX_PLAYERS; i++) {     if(e_Participando[i] == true)     {         TogglePlayerControllable(i, 0);     } }  Try this.
179
Hello! Does it work like this? PHP код: else if(strlen(aDuty[playerid]))format(string,sizeof(string),"(({FF0000} %s {FFFFFF}%s:{E0FFFF} %s ))",RPAL(playerid),NORPN(playerid),text); 
155
Eh, I think that function won't do what you want. Try this: PHP код: ReplaceNewString(string[]) {     for(new i;strlen(string) < i;i++)     {         if(string[i] == '|'...
323
PHP код: new string[100] = "Hello|n world[...]"; new output[100]; format(output, sizeof(output), "%s", ReplaceNewline(string)); SendPlayerDialog(playerid, DIALOG_STYLE_MSGBOX, "Title"...
323
Hello! Try this: PHP код: //OnGameModeInit AddPlayerClassEx(DRAGONS, random(Dragons), 318.8639,1121.6978,1083.8828,180.1659, 24,99999, 0,0, 0,0); AddPlayerClassEx(TEMPLARIO, random(Templ...
162
Quote: Originally Posted by CantBeJohn Just to clarify, that's not right either and sounds misleading. "u" is explicitly for Usernames/IDs. Well I mean the right but write the wrong. So...
462
Hello! What's with that? Do you get any errors?
118
Show us the OnPlayerRequestClass code, please.
255
Quote: Originally Posted by Flofey Excuse me Mencent, isn't what you did is the same as I did but in a different language :/ Sorry, my mistake. Next time I will look better.
462
Hello! Can you show us your "new" of carselect, please?
249
Hello! Do it like this: PHP Code: public OnPlayerSpawn(playerid) {     if(GetPlayerTeam(playerid) == DRAGONS)     {         SetPlayerPos(playerid, 318.8639, 1121.6978, 1083....
255
I think an option is to use a timer. There are many other solutions, but try this: PHP Code: //global variable: new TruckTimer[MAX_PLAYERS]; //when you enter the truck: TruckTimer[playerid]...
238
Hello! Where do you call the callback? I think it's isn't a basic callback, isn't it?
238
Where you show this textdraw to the player?
177
PHP код: CMD:ban(playerid,params[]) {          if(PlayerInfo[playerid][cAdmin] >= 3){          new ID,gname[MAX_PLAYER_NAME],string[125],reason[70];          if...
176
Hello! Do you create the textdraws in your gamemode and show it to the player? If so show us the code.
177
Hello! What do you mean: Quote: in a notebook ? Do you want a document where you can check which people are kicked / banned? If so you can use fwrite, fread, fexists and so on.
176
Sorry, I don't use discord. Look in your gamemode wheather you use a timer and one of these commands (SetPlayerArmedWeapon or ResetPlayerWeapons) in this timer. Also you can check in OnPlayerUpdate ...
184
Hello! Do you update the both variables? Try this: PHP код: public OnPlayerDeath(playerid, killerid, reason) {     SendDeathMessage(killerid, playerid, reason);     PlayerInfo[pla...
81