Search Results
Hello! PHP код: for(new i = 0; i < MAX_PLAYERS; i++) {     if(e_Participando[i] == true)     {         TogglePlayerControllable(i, 0);     } }  Try this.
21
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); 
50
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] == '|' && string[i+1] ...
52
PHP код: new string[100] = "Hello|n world[...]"; new output[100]; format(output, sizeof(output), "%s", ReplaceNewline(string)); SendPlayerDialog(playerid, DIALOG_STYLE_MSGBOX, "Title", output, "Ok...
52
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(Templarios), 2...
37
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...
71
Hello! What's with that? Do you get any errors?
11
Show us the OnPlayerRequestClass code, please.
62
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.
71
Hello! Can you show us your "new" of carselect, please?
12
Hello! Do it like this: PHP Code: public OnPlayerSpawn(playerid) {     if(GetPlayerTeam(playerid) == DRAGONS)     {         SetPlayerPos(playerid, 318.8639, 1121.6978, 1083.8828);         SetPlay...
62
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] = Set...
54
Hello! Where do you call the callback? I think it's isn't a basic callback, isn't it?
54
Where you show this textdraw to the player?
10
PHP код: CMD:ban(playerid,params[]) {          if(PlayerInfo[playerid][cAdmin] >= 3){          new ID,gname[MAX_PLAYER_NAME],string[125],reason[70];          if(sscanf(params,"us[70]",ID,reason...
9
Hello! Do you create the textdraws in your gamemode and show it to the player? If so show us the code.
10
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.
9
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 ...
9
Hello! Do you update the both variables? Try this: PHP код: public OnPlayerDeath(playerid, killerid, reason) {     SendDeathMessage(killerid, playerid, reason);     PlayerInfo[playerid][cDinero] ...
9