08.01.2016, 20:19
Hello!
Can you print the command like this:
What is then printing in the console (server.log) if you use this command?
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(playerid, 0);
SetPlayerVirtualWorld(playerid,888);
print("World and Interior");
GivePlayerWeapon(playerid,10,1);
print("Weapon");
SetPlayerHealth(playerid, 100);
print("HP");
SetPlayerPos(playerid, 470.2056,-1856.0343,8.2848);
SetPlayerFacingAngle(playerid, 179.8550);
print("Pos and Angle");
new string[145];
format(string, sizeof(string), ""GREEN">> DEATHMATCH: %s(%d) joined (players: %d/20)", PlayerInfo[playerid][pName], playerid,DeathMatch[17][dOnline]);
SendDeathMatch(18, -1, string);
print("Message");
return 1;
}