Show Posts

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.


Messages - OKStyle

Pages: [1]
1
mIRC/pawn Scripting / Re: Animations
« on: January 25, 2010, 08:45:25 pm »
nothing needed for it, just playerdid and the number ;)
Captain Evidence ;) Strange but any animation has not worked ???

2
mIRC/pawn Scripting / Re: Need some Scripts
« on: January 24, 2010, 09:10:29 am »
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.
For example class 1 can type /c Gate or !Gate and a gate will go away or Come back.
You want that gates moves? Create team by classes and check it in moved command.

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:
Code: [Select]
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;
}

3
mIRC/pawn Scripting / Re: Animations
« on: January 24, 2010, 08:12:29 am »
Thanks... Should I loaded library of animations before to use a command? Command has no effect.

4
mIRC/pawn Scripting / Animations
« on: January 23, 2010, 08:00:08 pm »
I'm trying use animation command, but it's don't return any result...
Code: [Select]
SetPlayerAnimation(playerid, anim);
I'm decompile main.scm of Vice-City and found some anims:
Quote
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.

What anim? Library or numbers? I think, this command must be modificated like fo SA-MP, but some coordintates are not necessary:
Code: [Select]
ApplyAnimation(playerid,"anim_library","anim_name");
Also i found in script anims by numbers, but in game it's not give a result.

5
mIRC/pawn Scripting / Re: Interiors
« on: January 23, 2010, 07:40:37 pm »
Em... Help doc of Sanny Builder says:
Quote
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

6
mIRC/pawn Scripting / Re: Help me for pawno script please
« on: January 23, 2010, 07:36:21 pm »
What marker? Default player have marker on the radar (and u can set it manual):
Code: [Select]
SetPlayerMarker(playerid,colour);
Also you can remove it:
Code: [Select]
RemovePlayerMarker(playerid);
If u want create map icon, u can't do this i think, cause this command don't included in a_vcmp.inc:
Code: [Select]
SetPlayerMapIcon(playerid,#,x,y,z,iconid,color);

7
Support / Re: vc-mp browser bug?
« on: January 22, 2010, 12:24:18 pm »
The bug of "Updated Server Browser" arises after closing of the client too.


8
Support / Re: Not so F AQ
« on: January 13, 2010, 09:31:25 pm »
And one more interesting moment: if the message goes through a SendClientMessage the colour specified in function changes colour of the previous deduced messages for the.

Ex:

In the mode:
1st message: hello
2nd message: it's me
3rd message: with money

In the game:
When 1st message is outputed: hello

When 2nd message is outputed: hello
it's me


When 3rd message is outputed: hello
it's me
with money

Pages: [1]