SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: [HiC]TheKiller
Forum: Scripting Help 03/11/2014, 10:49 PM
Replies: 18
Views: 1,592
Posted By [HiC]TheKiller
Re: Need help with changepass cmd (mysql,whirlpool)

A whirlpool hash is 128 characters long, the salt is 30 characters long. The hash variable is of the size 129.

128+30 != 129.

Just saying
Forum: Scripting Help 03/11/2014, 05:19 AM
Replies: 17
Views: 1,155
Posted By [HiC]TheKiller
Re: Decrease the Carslots

I'm sure there isn't that many [15] in the gamemode. Just search for that and I'm sure you'll find something.
Forum: Scripting Help 02/11/2014, 09:40 PM
Replies: 28
Views: 1,342
Posted By [HiC]TheKiller
Re: Unknown command?

Try changing the name of the command from makeadmin to makeadmintest or something. See if it works.
Forum: Scripting Help 02/11/2014, 08:51 PM
Replies: 16
Views: 861
Posted By [HiC]TheKiller
Re: How would I make this into multiple places.

Take a look into multi-dimensional arrays so you can put all of the data into an array and then take a look at looping. There are plenty of scripts around though that are exactly what you want. Hit...
Forum: Scripting Help 02/11/2014, 08:49 PM
Replies: 28
Views: 1,342
Posted By [HiC]TheKiller
Re: Unknown command?

Do some commands happen to be above OnPlayerCommandText and some below OnPlayerCommandText? Try removing OnPlayerCommandText and trying again.
Forum: Scripting Help 02/11/2014, 08:21 PM
Replies: 28
Views: 1,342
Posted By [HiC]TheKiller
Re: Unknown command?

Interesting, do you happen to have OnPlayerCommandText within your script as well?
Forum: Scripting Help 02/11/2014, 07:49 PM
Replies: 5
Views: 413
Posted By [HiC]TheKiller
Re: Score

It's sort of what I did with http://forum.sa-mp.com/showthread.php?t=49679 ages ago (not the best example though as it's really outdated). It's pretty much just 1 variable (to set their team) and 2...
Forum: Scripting Help 02/11/2014, 07:46 PM
Replies: 28
Views: 1,342
Posted By [HiC]TheKiller
Re: Unknown command?

Do you happen to have makeadmin in any other scripts of yours?
Forum: Scripting Help 02/11/2014, 07:42 PM
Replies: 5
Views: 514
Posted By [HiC]TheKiller
Re: Vehicle loop problem

Why do you need to loop through MAX_VEHICLES? Try doing the following instead


new vehicleid = GetPlayerVehicleID(playerid);
for(new i = 0; i < 8; i++)
{
if(vehicleid == pizzaboy[i])
...
Forum: Scripting Help 02/11/2014, 07:39 PM
Replies: 3
Views: 1,336
Posted By [HiC]TheKiller
Re: Pawno : error 017: undefined symbol "text"

The error is pretty much exactly what it says. The variable text needs to be created and set to something. It would probably be easier if you asked in http://forum.sa-mp.com/forumdisplay.php?f=34...
Forum: Scripting Help 02/11/2014, 07:37 PM
Replies: 8
Views: 459
Posted By [HiC]TheKiller
Re: OnDialogResponse Pb +rep

Can you show us your OnDialogResponse?
Forum: Scripting Help 02/11/2014, 07:34 PM
Replies: 4
Views: 337
Posted By [HiC]TheKiller
Re: Changing command from dcmd to zcmd

Nope. Look at it the exact same as DCMD but change DCMD_ to CMD: and get rid of OnPlayerCommandText within your script. The rest of it is the same.
Forum: Scripting Help 02/11/2014, 07:31 PM
Replies: 28
Views: 1,342
Posted By [HiC]TheKiller
Re: Unknown command?

Try putting random prints each line and see if it puts anything into the console:


CMD:makeadmin(playerid, params[])
{
new targetid, level, string[100];
print("A");
...
Forum: Scripting Help 02/11/2014, 07:26 PM
Replies: 3
Views: 800
Posted By [HiC]TheKiller
Re: [Help] INI UCP

Did you edit
$user['Name'] = 'ftp://'.$FTP_USER.':'.$FTP_PASS.'@YOURSERVERIPHERE/samp03/users/'.$_SESSION['Username'].'.ini';


With your server IP? Also, make sure that that's actually the...
Forum: Scripting Help 02/11/2014, 07:18 PM
Replies: 9
Views: 793
Posted By [HiC]TheKiller
Re: Anti-HP , Armour cheat?

The best way to learn how to do this is to look in these so called 'stupid includes' where they do their armour and health checks and then learn from that ;).
Forum: Scripting Help 02/11/2014, 07:15 PM
Replies: 5
Views: 873
Posted By [HiC]TheKiller
Re: Nuke command not working properly.

What your code is doing is it will check through the first player in the loop and if they're not in range then it will say that there is no player in range. If you think about the logic of this:
...
Forum: Scripting Help 02/11/2014, 07:12 PM
Replies: 18
Views: 1,592
Posted By [HiC]TheKiller
Re: Need help with changepass cmd (mysql,whirlpool)

It seems that it's just appending the old password onto the new string. Make sure all strings are cleared before trying to update again. I'm not sure why this is happening (if it's still an issue...
Forum: Scripting Help 02/11/2014, 07:07 PM
Replies: 3
Views: 339
Posted By [HiC]TheKiller
Re: Help

1. Make sure you check that damagedid isn't INVALID_PLAYER_ID before you start checking variables with it.
2. Make sure that TEAM_AT is a created variable.
Forum: Scripting Help 02/11/2014, 07:04 PM
Replies: 3
Views: 639
Posted By [HiC]TheKiller
Re: Vip system

new string [100000];

Really?

Anyway, what command are you trying to type?
Forum: Scripting Help 02/11/2014, 07:01 PM
Replies: 9
Views: 838
Posted By [HiC]TheKiller
Re: VIP on time

I would say that the easiest way is to just timestamp it with gettime then either
A: Have a timer every once in a while that checks everyones timestamps against their current ones.
B: Use...
Forum: Scripting Help 02/11/2014, 06:58 PM
Replies: 15
Views: 785
Posted By [HiC]TheKiller
Re: Problem with /accept car sistem. I give rep ! :D

new carslot = -1;
for(new i = 0; i<4; i++)
{
if(carvariable[playerid] == /*No car*/)
carslot = i;
}
if(carslot == -1) /*No free car slot*/


I don't really have time to read all...
Forum: Scripting Help 02/11/2014, 04:04 AM
Replies: 8
Views: 697
Posted By [HiC]TheKiller
Re: Wierd Classic RunTime Error : 19 wont Get fixed

Make sure that the plugins including the mysql plugin all have the correct names in the server config and that they are located in the plugins folder.
Forum: Scripting Help 02/11/2014, 03:58 AM
Replies: 3
Views: 400
Posted By [HiC]TheKiller
Re: OnPlayerCommandPerformed

Just change the line

if(IsPlayerAdmin(i))


To


if(IsPlayerAdmin(i) && i != playerid)
Forum: Scripting Help 02/11/2014, 03:55 AM
Replies: 4
Views: 284
Posted By [HiC]TheKiller
Re: Run time error 4 [HELP REP+]

You've probably got a variable that records damage. The chances are that you're doing something like this:


new givendamage[MAX_PLAYERS];
public OnPlayerTakeDamage(playerid, issuerid, Float:...
Forum: Everything and Nothing 02/11/2014, 12:57 AM
Replies: 40
Views: 2,821
Posted By [HiC]TheKiller
Re: YOU DAMNED KIDS! I actually need your hypothetical opinion on IRL businessy stuff

I've done quite a bit of work experience over the years including in IT. Some of it was paid and some of it was unpaid. The problem with this generation is it's really competitive for jobs and you...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 07:40 AM.


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