#2

Hello!

Can you print the command like this:
PHP код:
CMD:dildo(playerid,params[])
{
    print(
"Called /dildo");
    
Check(playerid);
    print(
"Check(playerid);");
    
PlayerInfo[playerid][DmMode] = 3;
    
PlayerInfo[playerid][DmID] = 17;
    print(
"set DMMode and DMID");
    
DeathMatch[18][dOnline]++;
    print(
"dOnline in 18 ++");
    
ResetPlayerWeapons(playerid);
    print(
"ResetWeapons");
    
SetPlayerInterior(playerid0);
    
SetPlayerVirtualWorld(playerid,888);
    print(
"World and Interior");
    
GivePlayerWeapon(playerid,10,1);
    print(
"Weapon");
    
SetPlayerHealth(playerid100);
    print(
"HP");
    
SetPlayerPos(playerid470.2056,-1856.0343,8.2848);
    
SetPlayerFacingAngle(playerid179.8550);
    print(
"Pos and Angle");
    new 
string[145];
    
format(stringsizeof(string), ""GREEN">> DEATHMATCH: %s(%d) joined (players: %d/20)"PlayerInfo[playerid][pName], playerid,DeathMatch[17][dOnline]);
    
SendDeathMatch(18, -1string);
    print(
"Message");
    return 
1;

What is then printing in the console (server.log) if you use this command?
Reply


Messages In This Thread
Help - by Kqly - 08.01.2016, 19:44
Re: Help - by Mencent - 08.01.2016, 20:19

Forum Jump:


Users browsing this thread: 1 Guest(s)