SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: ATGOggy
Forum: Scripting Help 21/12/2017, 05:00 AM
Replies: 2
Views: 272
Posted By ATGOggy
Re: Error on log

Add the following to the top of the code and post what it prints in the console:
printf("%d", B);
Forum: Scripting Help 24/03/2017, 06:15 AM
Replies: 7
Views: 518
Posted By ATGOggy
Re: If pickup id spams

Make them press a key like F to get the job while standing on the pickup.
Forum: Scripting Help 24/03/2017, 06:10 AM
Replies: 15
Views: 809
Posted By ATGOggy
Re: saving timer

new Robable=1, Count[MAX_PLAYERS];
forward RobTimer();
forward RobTimer(playerid);
public RobTimer(playerid)
{
Count[playerid]--;
if(Count[playerid]==0)
{
...
Forum: Scripting Help 22/06/2016, 07:51 AM
Replies: 2
Views: 367
Posted By ATGOggy
Re: Need Help With My register System + Reputation

Is the file in the scriptfiles folder empty or does it contain your password?
Forum: Scripting Help 22/06/2016, 03:31 AM
Replies: 6
Views: 758
Posted By ATGOggy
Re: Saving vehicles positions

To save the positions of the cars even after restart, you need to save the details of the cars in your database. Use Y_INI or MYSQL
Forum: Scripting Help 21/06/2016, 07:02 PM
Replies: 17
Views: 525
Posted By ATGOggy
Re: I don't know how to fix my paycheck

Plus the reward they get for delivering pizza, taxi, etc?
Forum: Scripting Help 21/06/2016, 06:15 PM
Replies: 12
Views: 774
Posted By ATGOggy
Re: Compile 26 Error with an LA-RP edit

In public OnPlayerRegister(playerid, password[])

Like this:public OnPlayerRegister(playerid, password[])
{
new cmd[256], tmp[256];
blah blah blah
Forum: Scripting Help 21/06/2016, 06:13 PM
Replies: 17
Views: 525
Posted By ATGOggy
Re: I don't know how to fix my paycheck

To edit it, you need to learn how to script in Pawn.
Anyways, tell me what changed you need to make to it.
Forum: Scripting Help 21/06/2016, 06:09 PM
Replies: 13
Views: 854
Posted By ATGOggy
Re: Y_INI Register system

Then add these lines to your script:public OnPlayerRequestClass(playerid, classid)
{
return 1;
}
Forum: Scripting Help 21/06/2016, 06:06 PM
Replies: 12
Views: 774
Posted By ATGOggy
Re: Compile 26 Error with an LA-RP edit

Add this line to the top of OnPlayerRegister: new cmd[256], tmp[256];
Forum: Scripting Help 21/06/2016, 05:58 PM
Replies: 13
Views: 854
Posted By ATGOggy
Re: Y_INI Register system

Post your OnPlayerRequestClass callback
Forum: Scripting Help 21/06/2016, 05:54 PM
Replies: 12
Views: 774
Posted By ATGOggy
Re: Compile 26 Error with an LA-RP edit

Can you show me which line is 26635?
Forum: Scripting Help 21/06/2016, 05:44 PM
Replies: 17
Views: 525
Posted By ATGOggy
Re: I don't know how to fix my paycheck

if(level >= 10) {
paycheck += 1000 + (level * 500);
} else {
paycheck += 500 + (level * 500);
}
Paycheck depends upon the player's level.
Forum: Scripting Help 21/06/2016, 05:20 PM
Replies: 17
Views: 525
Posted By ATGOggy
Re: I don't know how to fix my paycheck

The code you posted above doesn't show how much the paycheck is...
Maybe different jobs have different pay?
Forum: Scripting Help 21/06/2016, 05:12 PM
Replies: 12
Views: 774
Posted By ATGOggy
Re: Compile 26 Error with an LA-RP edit

strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}

new offset = index;
new...
Forum: Scripting Help 21/06/2016, 04:59 PM
Replies: 1
Views: 334
Posted By ATGOggy
Re: What's Wrong

Try this:#define PRESSED(%0) \
(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (PRESSED(KEY_NO))
{...
Forum: Scripting Help 21/06/2016, 04:57 PM
Replies: 17
Views: 525
Posted By ATGOggy
Forum: Scripting Help 21/06/2016, 04:51 PM
Replies: 17
Views: 525
Posted By ATGOggy
Re: I don't know how to fix my paycheck

We are not magicians to correct your code without seeing it.
Post your code and errors.
Forum: Scripting Help 21/06/2016, 04:49 PM
Replies: 15
Views: 669
Posted By ATGOggy
Re: Help please ?

Copy paste it and post your code and errors.

P.S:- Are you Blondz who play in Lsrcr?
Forum: Scripting Help 21/06/2016, 04:21 PM
Replies: 6
Views: 758
Posted By ATGOggy
Re: Saving vehicles positions

Disable the respawn timer of the vehicle by setting it's value to -1 so that the vehicle won't respawn and it stays at the same position.

https://wiki.sa-mp.com/wiki/AddStaticVehicleEx
See the...
Forum: Scripting Help 21/06/2016, 03:57 PM
Replies: 6
Views: 481
Posted By ATGOggy
Re: Error /fvr compile

hange this line: for(new car = SAPDVehicles[0]; car <= SAPDVehicles[52]; car++)
to:for(new car = SAPDVehicles[0]; car <= SAPDVehicles[19]; car++)

Also, I don't understand why you are using the...
Forum: Scripting Help 21/06/2016, 03:51 PM
Replies: 1
Views: 322
Posted By ATGOggy
Re: Police Siren object bug.

I can't understand what's the problem.
Forum: Scripting Help 21/06/2016, 03:47 PM
Replies: 11
Views: 594
Posted By ATGOggy
Re: Function crash the server.

Are you sure that you have a folder "Logs" inside scriptfiles foldier?
Forum: Scripting Help 18/03/2016, 03:52 PM
Replies: 3
Views: 252
Posted By ATGOggy
Re: Object not destroying

The value of that variable changed when you a assigned it a timer is.
Each elements have unique ids starting from 0.
Earlier, that variable used to have the Id of the object (eg:- 5), and when you...
Forum: Scripting Help 17/03/2016, 05:25 PM
Replies: 20
Views: 911
Posted By ATGOggy
Re: /oprison doesn't work

IRP:oprison(playerid, var[])
{
new user[32], string[128], file[32], time;
if(!Logged(playerid)) return NoLogin(playerid);
if(Player[playerid][pAdmin] < 3) return NoAuth(playerid);...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 12:58 PM.


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