04.01.2011, 18:33
hello i have made these commands but they dont work can you pls take a look at it?
Код:
if (strcmp("/vommit", cmdtext, true, 10) == 0) { SendClientMessage(playerid, 0xFFFFFF, "Amfg what did you eat?! that color isnt very nice!."); SendClientMessage(playerid, 0xFFFFFF, "A f*ck al that vommiting made you a little disorientadet"); ApplyAnimation(playerid,"PED","EAT_Vomit_SK ",4.1,1,1,1,1,1); SetPlayerHealth(playerid,90.0); SetPlayerDrunkLevel (playerid, 5000); return 1; } if (strcmp("/pee", cmdtext, true, 10) == 0) { SendClientMessage(playerid, 0xFFFFFF, "Omfg dont pee outside maybe there is a police in the neighberhood!."); ApplyAnimation(playerid,"PED","# Piss_in ",4.1,1,1,1,1,1); return 1; } if (strcmp("/skate", cmdtext, true, 10) == 0) { SendClientMessage(playerid, 0xFFFFFF, "YAY! lets skate!!!."); ApplyAnimation(playerid,"PED","# skate_run ",4.1,1,1,1,1,1);