12.08.2012, 02:21
Ok so I re-made them with zcmd, but they still don't work.
Код:
COMMAND:heal(playerid, params[]) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); SendClientMessage(playerid, 0x0FFDD349, "pm>>Your health and armor have been fully restored."); return 1; } COMMAND:kill(playerid, params[]) { SetPlayerHealth(playerid, 0); return 1; } COMMAND:rweps(playerid, params[]) { ResetPlayerWeapons(playerid); SendClientMessage(playerid, 0x0FFDD349, "pm>>Your weapons have been reset.Use /weps for new ones."); return 1; } COMMAND:cmds(playerid, params[]) { SendClientMessage(playerid, 0x0FFDD349, "pm>>/rweps, /kill, /heal, /rules, /weps, /teles"); return 1; } COMMAND:rules(playerid, params[]) { SendClientMessage(playerid, 0x0FFDD349, "pm>>x-x-x-x-Server rules-x-x-x-x"); SendClientMessage(playerid, 0x0FFDD349, "pm>>Do not insult other players and staff members."); SendClientMessage(playerid, 0x0FFDD349, "pm>>Do not use hacks or tools that give you unfair advantage over others."); SendClientMessage(playerid, 0x0FFDD349, "pm>>Do not advertise other servers."); SendClientMessage(playerid, 0x0FFDD349, "pm>>Not following these rules may lead you to being punished by the administrators"); return 1; }