error 017: undefined symbol "SPECIAL_ACTION_PISSING"
#1

Quote:

PlayerInfo[playerid][pPissTime] = 60;

if(IsPlayerInAnyVehicle(playerid))
{
format(string, sizeof(string), "%s (%d) Pisses In %s Vehicle.",PlayerInfo[playerid][pName],playerid,PossessiveGenderPronouns[PlayerInfo[playerid][pGender]]);
SendClientMessageToAll(GetPlayerColor(playerid), string);
}else{
format(string, sizeof(string), "%s (%d) Takes A Piss.",PlayerInfo[playerid][pName],playerid);
SendClientMessageToAll(GetPlayerColor(playerid), string);
//ApplyAnimation(playerid, "PAULNMAC", "Piss_loop", 3.0, 0, 0, 0, 0, 0, 1);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_PISSING);
//ApplyAnimation(playerid, "PAULNMAC", "Piss_in", 3.0, 0, 0, 0, 0, 0, 1); // Pissing
}
return 1;
}

Here's the code guys anyone can help me with this animation
Reply
#2

Dude...just ******...

Write this @top of the script:

PHP код:
#define SPECIAL_ACTION_PISSING 68 
Reply
#3

Its Easy,Use This:


Код:
PlayerInfo[playerid][pPissTime] = 60;

if(IsPlayerInAnyVehicle(playerid))
{
format(string, sizeof(string), "%s (%d) Pisses In %s Vehicle.",PlayerInfo[playerid][pName],playerid,PossessiveGenderPronouns[PlayerInfo[playerid][pGender]]);
SendClientMessageToAll(GetPlayerColor(playerid), string);
}else{
format(string, sizeof(string), "%s (%d) Takes A Piss.",PlayerInfo[playerid][pName],playerid);
SendClientMessageToAll(GetPlayerColor(playerid), string);
//ApplyAnimation(playerid, "PAULNMAC", "Piss_loop", 3.0, 0, 0, 0, 0, 0, 1);
SetPlayerSpecialAction(playerid, 68);
//ApplyAnimation(playerid, "PAULNMAC", "Piss_in", 3.0, 0, 0, 0, 0, 0, 1); // Pissing
}
return 1;
}
Or


Код:
#define SPECIAL_ACTION_PISSING 68

PlayerInfo[playerid][pPissTime] = 60;

if(IsPlayerInAnyVehicle(playerid))
{
format(string, sizeof(string), "%s (%d) Pisses In %s Vehicle.",PlayerInfo[playerid][pName],playerid,PossessiveGenderPronouns[PlayerInfo[playerid][pGender]]);
SendClientMessageToAll(GetPlayerColor(playerid), string);
}else{
format(string, sizeof(string), "%s (%d) Takes A Piss.",PlayerInfo[playerid][pName],playerid);
SendClientMessageToAll(GetPlayerColor(playerid), string);
//ApplyAnimation(playerid, "PAULNMAC", "Piss_loop", 3.0, 0, 0, 0, 0, 0, 1);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_PISSING);
//ApplyAnimation(playerid, "PAULNMAC", "Piss_in", 3.0, 0, 0, 0, 0, 0, 1); // Pissing
}
return 1;
}
Reply
#4

Thank you so much mouiz
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)