SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 45
Search took 0.01 seconds.
Search: Posts Made By: farse
Forum: Help Archive 08/09/2009, 03:40 AM
Replies: 9
Views: 1,002
Posted By farse
Re: Why dose this do nothing?

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(GetVehicleModel(vehicleid) == 520)
{
new Float:poss[3];
GetPlayerPos(playerid,poss[0],poss[1],poss[2];
...
Forum: Help Archive 03/09/2009, 11:08 AM
Replies: 1
Views: 1,160
Posted By farse
Re: OnFoot Bot

public OnNPCSpawn()
{
StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,record_name[]);
return 1;
}
And in FS

#include <a_npc>
main(){}
NextPlayback()
Forum: Help Archive 21/08/2009, 04:11 AM
Replies: 9
Views: 2,056
Posted By farse
Re: Reaction Test

http://forum.sa-mp.com/index.php?topic=21359.0
#include <a_samp>

#define time1 240000 //this is the 4 minute minimum gap time
#define time2 180000 // this is the 3 minute max addon time
...
Forum: Help Archive 28/06/2009, 01:25 PM
Replies: 12
Views: 1,636
Posted By farse
Re: OnPlayerUpdate bug!!!

yes, because OnPlayerUpdate resume after one second
public OnPlayerUpdate(playerid)
{
new xtr[MAX_PLAYERS]=0;
if (PlayerToPoint(2.0, playerid, 1750.0591,-1592.9020,13.5422))
{
...
Forum: Help Archive 27/06/2009, 03:59 PM
Replies: 6
Views: 700
Posted By farse
Re: [HELP] I cant fix that error!! :(

You give that error because you put too many "return 1".
Put this:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_SECONDARY_ATTACK)
{
if (PlayerToPoint(0.5,...
Forum: Help Archive 27/06/2009, 03:45 PM
Replies: 8
Views: 635
Posted By farse
Re: Help (object)

id is 4206
Forum: Help Archive 27/06/2009, 03:42 PM
Replies: 6
Views: 700
Posted By farse
Re: [HELP] I cant fix that error!! :(

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_SECONDARY_ATTACK)
{
if (PlayerToPoint(0.5, playerid, -2038.6663,-87.8214,35.3203))
{
SetPlayerPos(playerid,...
Forum: Help Archive 27/06/2009, 03:28 PM
Replies: 9
Views: 1,137
Posted By farse
Re: Help (keys).

Put at OnPlayerKeyStateChange

if(newkeys & KEY_WALK && newkeys & KEY_FIRE && IsPlayerInAnyVehicle(playerid))
{
SetPlayerPOs(...)//Search in command /lp
}

But i don't know which is code for...
Forum: Help Archive 10/06/2009, 03:26 PM
Replies: 6
Views: 1,024
Posted By farse
Re: More info added! pls read igan!

....add #include <a_samp> .... before #include <cps>
_________________________________________________
Sorry, I forgot he's put in CPS, but I can't delete this post
Forum: Help Archive 06/06/2009, 05:29 AM
Replies: 4
Views: 1,095
Posted By farse
Re: Moving gates problem ! It's FilterScript !

#include <a_samp>
new gate;
new Pwla;

#define COLOR_YELLOW 0xFFFF00AA
public OnFilterScriptInit ()
{
gate = CreateObject(971,-3361.159,28.543,7.073,0.0,0.0,-90.000);
Pwla =...
Forum: Filterscripts 29/05/2009, 03:11 AM
Replies: 19
[FilterScript] [FS] Auto-Messages
Views: 9,426
Posted By farse
Re: [FS] Auto-Messages

LOL,please put the timer at OnFilterScriptInit no at OnGameModeInit
EDIT:
And I see that is for a player, no for everybody, so use SetTimerEx and put at OnPlayerConnect
PS:For the beginning is...
Forum: Help Archive 28/05/2009, 04:50 PM
Replies: 11
Views: 1,555
Posted By farse
Re: deathmatch question

1.I fixed the mistakes :
if(strcmp(cmdtext, "/back", true) == 0)
{
if(BlockCmd[playerid] ==1)
{
SetPlayerPos(playerid, PosX[playerid], PosY[playerid], PosZ[playerid]);...
Forum: Help Archive 28/05/2009, 04:05 PM
Replies: 11
Views: 1,555
Posted By farse
Re: deathmatch question

yes dude:


if(strcmp(cmdtext, "/back", true) == 0)
{
if(BlockCmd[playerid] ==1)
{
SetPlayerPos(playerid, PosX[playerid], PosY[playerid], PosZ[playerid]);
SetPlayerFacingAngle(playerid,...
Forum: Help Archive 28/05/2009, 03:14 PM
Replies: 3
Views: 822
Posted By farse
Re: Color saving?

Put at the beginning script:
new pcolor;
At OnPlayerDeath:
pcolor =GetPlayerColor(playerid);
And at OnPlayerSpawn:
SetPlayerColor(pcolor);
Forum: Help Archive 28/05/2009, 03:07 PM
Replies: 11
Views: 1,555
Posted By farse
Re: deathmatch question

put at the beginning script this:
BlockCmd[MAX_PLAYERIS];
Put after case 0:{ this
BlockCmd[playerid]=1;
And at /back:

BlockCmd[playerid]=0;
ResetPlayerWeapon(playerid);

At OnPlayerDeath:
Forum: Help Archive 23/05/2009, 03:13 PM
Replies: 11
Views: 2,025
Posted By farse
Re: How to make a simple /help

public SendPlayerFormattedText(playerid, const str[], define)
{
new tmpbuf[256];
format(tmpbuf, sizeof(tmpbuf), str, define);
SendClientMessage(playerid, 0xFF004040, tmpbuf);
}
Is on...
Forum: Help Archive 23/05/2009, 02:50 PM
Replies: 11
Views: 2,025
Posted By farse
Re: How to make a simple /help

post errors, or i can't help you :!:
Forum: Help Archive 23/05/2009, 11:47 AM
Replies: 6
Views: 801
Posted By farse
Re: How to put this in my server?

Or use TextDraw Editor (http://forum.sa-mp.com/index.php?topic=29132.0)...is easier to use
Forum: Filterscripts 16/05/2009, 12:30 PM
Replies: 55
Views: 17,377
Posted By farse
Re: [FS] GTA 4 Wantedsystem [RL/RP/GF/Freeroam]

link (http://forum.sa-mp.com/index.php?action=dlattach;topic=102636.0;attach=242)
Good idea,if GTA IV no run in my pc, can see little in sa-mp
Forum: Help Archive 28/03/2009, 07:44 AM
Replies: 8
Views: 2,010
Posted By farse
Re: Hospital Spawn On Death Help :S

new spital[MAX_PLAYERS];
public OnPlayerSpawn(playerid)
{
if(spital[playerid] ==1)
{
SetPlayerPos(playerid,X,y,z);//x,y,z of spital
spital[playerid]=0;
}
return 1;
}
Forum: Help Archive 28/03/2009, 05:31 AM
Replies: 12
Views: 1,502
Posted By farse
Re: Menu wheel - Not Work

#include <a_samp>
//#include <f_menu>

#pragma tabsize 0

#define FILTERSCRIPT

#define COLOR_BLUE 0x00EEADDF
Forum: Help Archive 28/03/2009, 03:56 AM
Replies: 12
Views: 1,502
Posted By farse
Re: Menu wheel - Not Work

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/wheel", true) == 0)
{
ShowMenuForPlayer(wheelmenutra,playerid);
return 1;
}
return 0;
}
Forum: Everything and Nothing 13/03/2009, 02:12 PM
Replies: 36
Views: 3,718
Posted By farse
Re: Favorite National Anthem

Romania-POP (http://www.youtube.com/watch?v=bO3z5I3nU04)
Romania-Original (http://www.youtube.com/watch?v=sqKEPqjuJkw&feature=related)
Forum: Everything and Nothing 12/03/2009, 04:53 PM
Replies: 17
Views: 1,941
Posted By farse
Re: My birthday

Happy Birthday
http://tbn3.******.com/images?q=tbn:nnpjm7s7OMF_GM:http://i436.photobucket.com/albums/qq81/punkicidal/vg-happy-birthday.jpg
Forum: Includes 14/02/2009, 08:02 AM
Replies: 165
Views: 39,355
Posted By farse
Re: [INC] Fallout's New Menu Styles.

Lol, look nice, :D
Great job ;)
Showing results 1 to 25 of 45

 

All times are GMT. The time now is 08:49 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.