46
mIRC/pawn Scripting / Re: Cop and medic
« on: June 06, 2011, 08:48:05 pm »
[pawn]else if (strcmp(cmd, "!police", true) == 0)
{
SetPlayerSkin(playerid,1);
}
return 1
if (strcmp(cmd, "!paramedic", true) == 0)
{
SetPlayerSkin(playerid,5);
}
return 1;[/pawn]
{
SetPlayerSkin(playerid,1);
}
return 1
if (strcmp(cmd, "!paramedic", true) == 0)
{
SetPlayerSkin(playerid,5);
}
return 1;[/pawn]
Quote
2. How do I make cops vehicle only enterable by cops?Sorry but i can't make you all the script, try to do it on your own.
Quote
How do I do medic heal-only commands?The same as the first question... but i can give you a idea. You should disable the !heal for skins witch are not medics.