Search Results
Hello!
PHP код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(e_Participando[i] == true)
{
TogglePlayerControllable(i, 0);
}
}
Try this.
322
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);
231
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] == '|'...
507
PHP код:
new string[100] = "Hello|n world[...]";
new output[100];
format(output, sizeof(output), "%s", ReplaceNewline(string));
SendPlayerDialog(playerid, DIALOG_STYLE_MSGBOX, "Title"...
507
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...
273
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...
760
Hello!
What's with that?
Do you get any errors?
226
Show us the OnPlayerRequestClass code, please.
388
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.
760
Hello!
Can you show us your "new" of carselect, please?
499
Hello!
Do it like this:
PHP Code:
public OnPlayerSpawn(playerid)
{
if(GetPlayerTeam(playerid) == DRAGONS)
{
SetPlayerPos(playerid, 318.8639, 1121.6978, 1083....
388
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]...
381
Hello!
Where do you call the callback? I think it's isn't a basic callback, isn't it?
381
Where you show this textdraw to the player?
291
PHP код:
CMD:ban(playerid,params[])
{
if(PlayerInfo[playerid][cAdmin] >= 3){
new ID,gname[MAX_PLAYER_NAME],string[125],reason[70];
if...
285
Hello!
Do you create the textdraws in your gamemode and show it to the player?
If so show us the code.
291
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.
285
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 ...
275
Hello!
Do you update the both variables?
Try this:
PHP код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
PlayerInfo[pla...
140