26.11.2011, 13:03
Quote:
public OnPlayerText(playerid, text[]) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/chief186", true) == 0) { // Set the player's skin to ID 277, which is a fireman. SetPlayerSkin(playerid, 275); SendClientMessage(playerid, COLOR_GOLD,"[INFO]You logged in as BCFD Chief."); return 1; } { if(strcmp(cmdtext, "/dchief1861", true) == 0) { // Set the player's skin to ID 277, which is a fireman. SetPlayerSkin(playerid, 279); SendClientMessage(playerid, COLOR_GOLD,"[INFO]You logged in as BCFD Deputy Chief."); return 1; } { if(strcmp(cmdtext, "/fire1211", true) == 0) { // Set the player's skin to ID 277, which is a fireman. SetPlayerSkin(playerid, 27 ![]() SendClientMessage(playerid, COLOR_GOLD,"[INFO]You logged in as BCFD Fireman."); return 1; } { if(strcmp(cmdtext, "/fire1212", true) == 0) { // Set the player's skin to ID 277, which is a fireman. SetPlayerSkin(playerid, 277); SendClientMessage(playerid, COLOR_GOLD,"[INFO]You logged in as BCFD Fireman."); return 1; } { if(strcmp(cmdtext, "/fire1213", true) == 0) { // Set the player's skin to ID 277, which is a fireman. SetPlayerSkin(playerid, 27 ![]() SendClientMessage(playerid, COLOR_GOLD,"[INFO]You logged in as BCFD Fireman."); return 1; } { if(strcmp(cmdtext, "/fire1214", true) == 0) { // Set the player's skin to ID 277, which is a fireman. SetPlayerSkin(playerid, 277); SendClientMessage(playerid, COLOR_GOLD,"[INFO]You logged in as BCFD Fireman."); return 1; } { if(strcmp(cmdtext, "/med18612", true) == 0) { // Set the player's skin to ID 277, which is a fireman. SetPlayerSkin(playerid, 274); SendClientMessage(playerid, COLOR_GOLD,"[INFO]You logged in as Paramedic."); return 1; } { if(strcmp(cmdtext, "/med18613", true) == 0) { // Set the player's skin to ID 277, which is a fireman. SetPlayerSkin(playerid, 276); SendClientMessage(playerid, COLOR_GOLD,"[INFO]You logged in as Paramedic"); return 1; } { if(strcmp(cmdtext, "/capt186", true) == 0) { // Set the player's skin to ID 277, which is a fireman. SetPlayerSkin(playerid, 281); SendClientMessage(playerid, COLOR_GOLD,"[INFO]You logged in as BCSD Capitan."); return 1; } { if(strcmp(cmdtext, "/off1861", true) == 0) { // Set the player's skin to ID 277, which is a fireman. SetPlayerSkin(playerid, 283); SendClientMessage(playerid, COLOR_GOLD,"[INFO]You logged in as BCSD Officer."); return 1; } { if(strcmp(cmdtext, "/off1862", true) == 0) { // Set the player's skin to ID 277, which is a fireman. SetPlayerSkin(playerid, 28 ![]() SendClientMessage(playerid, COLOR_GOLD,"[INFO]You logged in as BCSD Officer."); return 1; } { if(strcmp(cmdtext, "/off1863", true) == 0) { // Set the player's skin to ID 277, which is a fireman. SetPlayerSkin(playerid, 281); SendClientMessage(playerid, COLOR_GOLD,"[INFO]You logged in as BCSD Officer."); return 1; } { if(strcmp(cmdtext, "/off1864", true) == 0) { // Set the player's skin to ID 277, which is a fireman. SetPlayerSkin(playerid, 28 ![]() SendClientMessage(playerid, COLOR_GOLD,"[INFO]You logged in as BCSD Officer."); return 1; } { if(strcmp(cmdtext, "/sher186", true) == 0) { // Set the player's skin to ID 277, which is a fireman. SetPlayerSkin(playerid, 282); SendClientMessage(playerid, COLOR_GOLD,"[INFO]You logged in as BCSD Sheriff."); return 1; } { if(strcmp(cmdtext, "/dsher1861", true) == 0) { // Set the player's skin to ID 277, which is a fireman. SetPlayerSkin(playerid, 283); SendClientMessage(playerid, COLOR_GOLD,"[INFO]You logged in as BCSD Deputy Sheriff."); return 1; } return 0; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } } |