1
mIRC/pawn Scripting / Re: Animations
« on: January 25, 2010, 08:45:25 pm »nothing needed for it, just playerdid and the numberCaptain Evidence Strange but any animation has not worked
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
nothing needed for it, just playerdid and the numberCaptain Evidence Strange but any animation has not worked
The usage of these commands is shown in the default mode (mode.pwn) located in your server's "gamemodes" folder.Not sure... He asks the concrete commands...
place and take away a object in game done by a Player Class.You want that gates moves? Create team by classes and check it in moved command.
For example class 1 can type /c Gate or !Gate and a gate will go away or Come back.
Also am looking for a !Taze ID or /c taze ID which again can only be done by PlayerClass 1 and would do the same as Slapping the player or freezing him. Also would like it to set the players weapons to Fist and nothing else so if a player has a M4 a Cop can taze him and his guns will go away and be slapped.Smth like this:
if(!strcmp(cmd,"taze",true))
{
new tmp[30];
tmp = strtok(cmdtext,idx);
new otherplayer = strval(tmp);
if(IsPlayerConnected(otherplayer))
{
RemovePlayerWeapons(otherplayer);
SendClientMesage(otherplayer,0xFF0000AA,"You have slaped!");
}
else { SendClientMessage(playerid,0xFF0000AA,"Invalid player ID."); }
return 1;
}
SetPlayerAnimation(playerid, anim);
02E6: set_cutscene_anim $208 'AIRPLAN'
02E6: set_cutscene_anim $131 'BRFCASE'
02E6: set_cutscene_anim 7@ 'CGONA'
02E6: set_cutscene_anim $140 'COLPHON'
02E6: set_cutscene_anim $148 'CS_CHOP'
02E6: set_cutscene_anim 10@ 'CSALSB'
02E6: set_cutscene_anim $145 'CSASSA'
02E6: set_cutscene_anim $146 'CSASSB'
02E6: set_cutscene_anim $147 'CSASSC'
02E6: set_cutscene_anim $149 'CSAVERY'
02E6: set_cutscene_anim $177 'CSBJ'
02E6: set_cutscene_anim $165 'CSCANDY'
02E6: set_cutscene_anim $150 'CSCOLO'
02E6: set_cutscene_anim $143 'CSDEAL'
etc.
ApplyAnimation(playerid,"anim_library","anim_name");
0 outside
1 hotel
2 mansion
3 bank
4 mall
5 stripclub
6 lawyers
7 cafe robina
8 concert
9 studio
10 shooting range
11 apartment/bikerbar
12 policeHQ
14 stadium1
15 stadium2
16 stadium3
17 Malibu club
18 Print Works
SetPlayerMarker(playerid,colour);
RemovePlayerMarker(playerid);
SetPlayerMapIcon(playerid,#,x,y,z,iconid,color);