Forum: Scripting Help
01/02/2013, 10:02 AM
|
Replies: 6
Views: 1,140
Re: SAMP keys question
There is an include called "OnPlayerPause" ( http://forum.sa-mp.com/showthread.php?t=245738&highlight=onplayerpause )
If you prefer to use a filterscript, then use this :...
|
Forum: Scripting Help
01/02/2013, 09:45 AM
|
Replies: 4
Views: 672
Re: npc problem
There are 2 topics I've found from ******, asking for this, but there seems the problem is not solved yet.
( http://forum.sa-mp.com/showthread.php?t=121468 ||...
|
Forum: Everything and Nothing
21/05/2012, 12:26 PM
|
Replies: 23
Views: 3,497
Re: What kind of server
I prefer both in one. But, if you ask to pick only one, I'll pick Aviation more than Trucker.
|
Forum: General
02/04/2012, 08:35 AM
|
Replies: 57
Views: 7,756
Re: RolePlay? Is that all you've got?
My choice is something like Mini Games server, where there are some modes.
Like racing, deathmatch, team deathmatch, parkour, stunt. They are my fav :) Because only in one server we can see...
|
Forum: Everything and Nothing
27/03/2012, 11:43 PM
|
Replies: 59
Views: 6,435
Re: Does anyone still play PS2?
I play PS1, my PS2-pad is broken ( Got 2, and both are broken ).
I like PS1 more than PS2, the games are more fun ! ( I don't mind the graphics ).
FF IX and Tomba! 2 :)
|
Forum: Tutorials
20/03/2012, 11:47 AM
|
Replies: 7
Views: 3,166
Re: Using Timers
Nice and short tutorial.
Well, one suggestion : add SetTimerEx to the tutorial.
|
Forum: Scripting Help
20/03/2012, 11:44 AM
|
Replies: 2
Views: 736
Re: Enter/Exit
if(IsPlayerInRangeOfPoint(playerid, 2.0, 1684.5339,1449.4463,10.7706))
{
SetPlayerPos(playerid, 6.091179,-29.271898,1003.549438);
SetPlayerInterior(playerid, 10);
}...
|
Forum: Scripting Help
20/03/2012, 08:17 AM
|
Replies: 3
Views: 700
|
Forum: Scripting Help
20/03/2012, 12:12 AM
|
Replies: 5
Views: 757
Re: New cmd's
public OnPlayerCommandText( playerid, cmdtext[ ] )
{
if ( !strcmp( cmdtext, "/mytp", true ) )
{
SetPlayerPos( playerid, 1602.3510, -1034.1279, 23.9063 );
...
|
Forum: Scripting Help
20/03/2012, 12:07 AM
|
Replies: 8
Views: 1,289
|
Forum: Everything and Nothing
14/03/2012, 03:10 PM
|
Replies: 34
Views: 3,336
Re: PES or FIFA?
PES got an incredible smooth graphics IMO :D but it doesn't have much features as FIFA.
FIFA got some feature ( juggling, scorpion kick and other freestyles ) BUT there are some bugs, and the...
|
Forum: Scripting Help
10/03/2012, 11:54 PM
|
Replies: 13
Views: 1,631
Re: Help a bit here +rep
if ( IsATaxicar( GetPlayerVehicleID( playerid ) ) )
{
if( PlayerInfo[ playerid ][ pJob ] != 2 )
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,...
|
Forum: Scripting Help
10/03/2012, 11:34 PM
|
Replies: 13
Views: 1,631
Re: Help a bit here +rep
I guess this is the problem :
if(IsATaxicar)) // one opening bracket and 2 closing brackets. wtf.
//Should be
if ( IsATaxicar( GetPlayerVehicleID( playerid ) ) )
|
Forum: Scripting Help
07/03/2012, 01:49 PM
|
Replies: 2
Views: 717
Re: get playername
At OnPlayerDialogResponse :
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch(dialogid)
{
case 9780: //Remember the ID we changed in...
|
Forum: Scripting Help
07/03/2012, 01:36 PM
|
Replies: 37
Views: 3,373
Re: Problem Fast[Rep]
if( !strcmp( cmd, "/dmv", true ) )
{
if( PlayerInfo[ playerid ][ pAdmin ] >= 3 || PlayerInfo[ playerid ][ pHelper ] >= 3)
return SendClientMessage( playerid, -1, "USAGE: /dmv...
|
Forum: Scripting Help
07/03/2012, 09:48 AM
|
Replies: 5
Views: 889
Re: car shop
There is nothing wrong there as far as I know, but maybe there are Dialog ID conflicts ( A same dialog ID )
Example :
#define WANG_CARS_SHOP 77 // Same dialog ID.
#define ......
#define...
|
Forum: Scripting Help
07/03/2012, 08:59 AM
|
Replies: 9
Views: 1,313
Re: What's wrong with this? +rep
Well, I can only see one problem there, that is the command " /givecookie " :
new INI:File = INI_Open(UserPath(playerid)); // Opening the admin's file ? Should be ' INI_Open( UserPath( pid ) ); '...
|
Forum: Scripting Help
06/03/2012, 10:59 PM
|
Replies: 9
Views: 1,313
Re: What's wrong with this? +rep
//@ cookies
format(str, sizeof(str), "%s(%d) has (%d) Cookies.", GetName(id),PlayerInfo[playerid][pCookies]);
// --> PlayerInfo[playerid][pCookies]
//So I guess you are checking your cookies not...
|
Forum: Scripting Help
06/03/2012, 01:24 PM
|
Replies: 16
Views: 1,465
|
Forum: Scripting Help
06/03/2012, 10:58 AM
|
Replies: 2
Views: 766
|
Forum: Scripting Help
04/10/2011, 12:20 PM
|
Replies: 7
Views: 948
Re: Question
stars = score? so 0 stars = 0 score, 1 stars = 1 score?
public OnPlayerUpdate( playerid )
{
if ( GetPlayerWantedLevel( playerid ) > 0 )
SetPlayerScore( playerid,...
|
Forum: Scripting Help
04/10/2011, 10:23 AM
|
Replies: 5
Views: 1,261
Re: Loops + Textdraws
I don't think so at TheKiller and John Cooper's post, because
if(PVar[i][InRound] && PVar[i][Team] != T_BUM && PVar[i][Team] != T_AWAY && PVar[i][Team] != SUB_ATT && PVar[i][Team] != SUB_DEF)
...
|
Forum: Scripting Help
02/10/2011, 09:40 AM
|
Replies: 20
Views: 1,998
|
Forum: Scripting Help
28/09/2011, 08:35 AM
|
Replies: 8
Views: 934
Re: Help me
PUT VEHICLES IN ONGAMEMODEINIT
#include < a_samp >
#include < streamer >
public OnGameModeInit( )
{
// addstaticvehicles
return 1;
|
Forum: Everything and Nothing
25/09/2011, 07:42 AM
|
Replies: 235
Views: 49,218
Re: Want a signature?(2011)
This one is easy for you I think :D
Text: ROFLCOPTER
Text pos.: Middle right
Size: Not too small not too large, pick a suitable size ( your choose )
2 Colors: Text = Black | Background = White....
|