SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 83
Search took 0.00 seconds.
Search: Posts Made By: _Mohit_
Forum: Scripting Help 06/12/2015, 02:58 PM
Replies: 10
Views: 818
Posted By _Mohit_
Re: Doesn't load housename

Your code should be something like this i hope


cache_get_field_content(i, "HName", HouseInfo[i][HName],1, 30);


Syntax

cache_get_field_content(row, const field_name[], destination[],...
Forum: Gamemode Scripts 20/08/2015, 10:58 AM
Replies: 67
Views: 15,623
Posted By _Mohit_
Re: Zombie Apocalypse Afterlife

Look for the XP adding code under OnPlayerDeath
Forum: Scripting Help 20/08/2015, 10:50 AM
Replies: 1
Views: 557
Posted By _Mohit_
Re: Server Sided money problem

// under onplayerspawn
ResetMoneyBar(playerid);//Resets the money in the M4 moneybar, Do not remove!
GivePlayerCash(playerid,pInfo[playerid][Money]);


You are adding money to the...
Forum: Scripting Help 15/02/2015, 08:34 AM
Replies: 5
Views: 443
Posted By _Mohit_
Re: Vehicle Variable not allowing vehicle to spawn?

wait a minute

ResVehicle[vcount] = AddStaticVehicleEx(vInfo[i][vModel],vInfo[i][vLastX],vInfo[i][vLastY],vInfo[i][vLastZ],vInfo[i][vLastA],vInfo[i][vColor1],vInfo[i][vColor2],-1);

so you are...
Forum: Scripting Help 15/02/2015, 08:16 AM
Replies: 6
Views: 610
Posted By _Mohit_
Re: Ban Bug [REP+]

Do you have a code under OnPlayerConnect to check weather the player is banned or not?
Forum: Scripting Help 15/02/2015, 04:12 AM
Replies: 1
Views: 372
Posted By _Mohit_
Re: Vehicle saving system

You forgot to add 2 closing brackets(]) here,

VehicleInfo[vid[vColor1], VehicleInfo[vid [vColor2]

Just add the closing brackets and it should look like this

VehicleInfo[vid][vColor1],...
Forum: Scripting Help 23/09/2014, 07:00 AM
Replies: 3
Views: 367
Posted By _Mohit_
Re: problem with getting the highest kill streak ever on /stats

It says 0 because you are first setting the players spree info and than you are checking.
Ex:- If you have 3 killing spree,According to your code,this part

if(pSpree[killerid] < hSpree[killerid])...
Forum: Scripting Help 12/06/2014, 02:01 PM
Replies: 9
Views: 780
Posted By _Mohit_
Re: Creating an experience system:

where do u use the enums? I mean something like PlayerInfo[].... Should be there.Post it also so that i can help u.
Forum: Filterscripts 27/03/2014, 08:57 AM
Replies: 15
Views: 4,173
Posted By _Mohit_
Re: (0.3z)Simple C4 system with Object And Animation!

Ohh.Thank You for pointing it out.Fixed.
Forum: Filterscripts 26/03/2014, 11:27 AM
Replies: 15
Views: 4,173
Posted By _Mohit_
Forum: Filterscripts 02/03/2014, 06:59 AM
Replies: 15
Views: 4,173
Posted By _Mohit_
Forum: Filterscripts 28/02/2014, 11:28 AM
Replies: 15
Views: 4,173
Posted By _Mohit_
Forum: Filterscripts 28/02/2014, 07:02 AM
Replies: 15
Views: 4,173
Posted By _Mohit_
Lightbulb (0.3.7)Simple C4 system with Object And Animation!Updated v1.1

C4 System

About This FS
This is a simple C4 FS which uses A Satchel Charge as C4 object.

Commands
/plantc4 - Plant a c4 the current standing location of the player.

How to Use
...
Forum: Scripting Help 09/02/2014, 07:23 AM
Replies: 17
Views: 1,316
Posted By _Mohit_
Re: AW: Robbery

You put this under OnPlayerCommandText


dcmd(robbery,7,cmdtext);


And at the end of your script or gm


dcmd_robbery(playerid, params[])
Forum: Scripting Help 09/02/2014, 05:08 AM
Replies: 7
Views: 578
Posted By _Mohit_
Re: Help Needed !!

he didnt copy and paste it.He added this


if(!IsPlayerInCheckpoint(playerid))
{
SendClientMessage(playerid, COLOR_ERROR, "Selection Cancelled.");
...
Forum: Scripting Help 09/02/2014, 05:03 AM
Replies: 1
Views: 774
Posted By _Mohit_
Re: Scripting Help ( House System)

Man,this aint script request thread.You post here if you find any small problem while scripting.Not asking someone to script something and give it to you.
Forum: Scripting Help 09/02/2014, 04:54 AM
Replies: 17
Views: 1,316
Posted By _Mohit_
Re: Robbery

You put it anywhere in the script.But not under any stock or public.if you want,you can put it at the end of your script.
Forum: Tutorials 24/11/2013, 11:27 AM
Replies: 13
Views: 3,502
Posted By _Mohit_
Re: Advanced Capturable Zone Scripting [Easy,Very Fast,Efficient,Variable Time TO Capture For DONOR , More STOCKS ,Forea

Very nice Tutorial.Makes it easy for scripters to add Capture zones.Good Job +rep
Forum: Scripting Help 05/11/2013, 09:17 AM
Replies: 2
Views: 572
Posted By _Mohit_
Re: How to give kill?

public OnBombExplode(playerid, num, Float:x, Float:y, Float:z)
{
return 1;
}

Replace it with

public OnBombExplode(playerid, num, Float:x, Float:y, Float:z)
{
...
Forum: Scripting Help 10/10/2013, 08:27 AM
Replies: 7
Views: 598
Posted By _Mohit_
Re: Help with database file ( Cops-Robbers-RPG )

See inside the script.I assume if you set cia to 1337 you might get it.Try it.Because SFCRRPG dosent save CIA as 1.It saves as 1337.Try it out and tell the result.
Forum: Scripting Help 04/06/2013, 05:00 PM
Replies: 10
Views: 760
Posted By _Mohit_
Re: Need help in RemoveBuildingForPlayer

I didn't make it non-colidable.
Forum: Scripting Help 04/06/2013, 04:58 PM
Replies: 10
Views: 760
Posted By _Mohit_
Re: Need help in RemoveBuildingForPlayer

The objects are visible for a few secs.And then they dis appear.And after 2-3 secs again it appears
Forum: Scripting Help 04/06/2013, 04:53 PM
Replies: 10
Views: 760
Posted By _Mohit_
Re: Need help in RemoveBuildingForPlayer

Yep.It is under OnPlayerConnect
Forum: Scripting Help 04/06/2013, 04:50 PM
Replies: 10
Views: 760
Posted By _Mohit_
Re: Need help in RemoveBuildingForPlayer

I didnt use any includes
Forum: Scripting Help 04/06/2013, 04:47 PM
Replies: 10
Views: 760
Posted By _Mohit_
Re: Need help in RemoveBuildingForPlayer

It is one of the line


RemoveBuildingForPlayer(playerid, 10398, -2722.539062, -341.742187, 34.539058, 0.25);
Showing results 1 to 25 of 83

 

All times are GMT. The time now is 05:30 PM.


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