Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Fuzzy168 on June 06, 2011, 03:49:53 pm
-
Cop
1. How do I add commands for cops to change to Swat or FBI?
2. How do I make cops vehicle only enterable by cops?
Medic
1. How do I do medic heal-only commands?
I use GUPS and Pawno!!
-
[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]
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.
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.
-
I know your doing this but I will not go:)
make your
-
Sorry but i can't make you all the script, try to do it on your own.
But I really don't know how.. :'( :'( :'(
-
if u want the script i must start from first so ill give some examples
Use arrays like Cop[playerid] =1; Medic[playerid] =1;
and edit it from /c sethp in gups to if(Medic[playerid] =1) , tmp = plr , SetPlayerHealth(plr,100) , Setplayermoney(plr,123);
you can figure it out from these