Bom, isso aqui й do GM que eu usava no meu RP, foi feito pelo meu amigo Nemesis, que Deus o tenha.
pawn Код:
if(strcmp(cmd, "/andarvelho", true) == 0) // By Nemesis_Metallica
{
if(IsPlayerConnected(playerid))
{
SetPlayerWalkingStyle(playerid, WALK_OLD)
}
return 1;
}
if(strcmp(cmd, "/andarvelhog", true) == 0) // By Nemesis_Metallica
{
if(IsPlayerConnected(playerid))
{
SetPlayerWalkingStyle(playerid, WALK_FAT_OLD)
}
return 1;
}
if(strcmp(cmd, "/andargordo", true) == 0) // By Nemesis_Metallica
{
if(IsPlayerConnected(playerid))
{
SetPlayerWalkingStyle(playerid, WALK_FAT)
}
return 1;
}
if(strcmp(cmd, "/andarnormal", true) == 0) // By Nemesis_Metallica
{
if(IsPlayerConnected(playerid))
{
SetPlayerWalkingStyle(playerid, WALK_NORMAL)
}
return 1;
}
if(strcmp(cmd, "/andarlady", true) == 0) // By Nemesis_Metallica
{
if(IsPlayerConnected(playerid))
{
SetPlayerWalkingStyle(playerid, WALK_LADY)
}
return 1;
}
if(strcmp(cmd, "/andarlady2", true) == 0) // By Nemesis_Metallica
{
if(IsPlayerConnected(playerid))
{
SetPlayerWalkingStyle(playerid, WALK_LADY2)
}
return 1;
}
if(strcmp(cmd, "/andarputa", true) == 0) // By Nemesis_Metallica
{
if(IsPlayerConnected(playerid))
{
SetPlayerWalkingStyle(playerid, WALK_WHORE)
}
return 1;
}
if(strcmp(cmd, "/andarputa2", true) == 0) // By Nemesis_Metallica
{
if(IsPlayerConnected(playerid))
{
SetPlayerWalkingStyle(playerid, WALK_WHORE2)
}
return 1;
}
if(strcmp(cmd, "/andarblind", true) == 0) // By Nemesis_Metallica
{
if(IsPlayerConnected(playerid))
{
SetPlayerWalkingStyle(playerid, WALK_BLIND)
}
return 1;
}
if(strcmp(cmd, "/andargang", true) == 0) // By Nemesis_Metallica
{
if(IsPlayerConnected(playerid))
{
SetPlayerWalkingStyle(playerid, WALK_GANGSTA)
}
return 1;
}
if(strcmp(cmd, "/andargang2", true) == 0) // By Nemesis_Metallica
{
if(IsPlayerConnected(playerid))
{
SetPlayerWalkingStyle(playerid, WALK_GANGSTA2)
}
return 1;
}
if(strcmp(cmd, "/andardrunk", true) == 0) // By Nemesis_Metallica
{
if(IsPlayerConnected(playerid))
{
SetPlayerWalkingStyle(playerid, WALK_DRUNK)
}
return 1;
}
if(strcmp(cmd, "/andarped", true) == 0) // By Nemesis_Metallica
{
if(IsPlayerConnected(playerid))
{
SetPlayerWalkingStyle(playerid, WALK_PED)
}
return 1;
}