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: DeathOnaStick
Forum: Everything and Nothing 01/08/2013, 02:32 PM
Replies: 35
Views: 1,601
Posted By DeathOnaStick
Re: When you start scripting

February 2009. Were good times back then... Stopped scripting one year ago though, got bored and no interesting projects running.
Forum: Plugin Development 26/07/2013, 10:42 PM
Replies: 3,636
Views: 557,860
Posted By DeathOnaStick
Re: FCNPC - Fully Controllable NPC v0.1 Beta 10 R2 [UPDATED]

Will that also affect the Vehicles rotation? If yes then my problem's solved.

Small Update:
In the explanation it says something about x/y/z coords and one rotation, how do I distinguish between...
Forum: Plugin Development 26/07/2013, 08:14 PM
Replies: 3,636
Views: 557,860
Posted By DeathOnaStick
Re: FCNPC - Fully Controllable NPC v0.1 Beta 10 R2 [UPDATED]

Hey, I've got a question: Which angle is that? Having a problem with angles and looking for a sollution.

Guess this is the rotation around the Z-Axis? If that's correct, is there a possibility to...
Forum: Scripting Help 28/03/2013, 10:00 AM
Replies: 0
Views: 347
Posted By DeathOnaStick
SQLite query not executing properly

Alright I was in the wrong folder and really want to die right now. I spent hours on looking for the mistake. Suicide inc.

This topic may be deleted.

Thanks anyway.
Forum: Scripting Help 19/01/2013, 08:43 PM
Replies: 7
Views: 667
Posted By DeathOnaStick
Re: Vehicles disappearing

Well, the only thing I could think about now is that the variable is too small or incompatible, or it's just an internal sa-mp bug. Code seems legit for me.
Forum: Scripting Help 19/01/2013, 08:39 PM
Replies: 8
Views: 958
Posted By DeathOnaStick
Re: Respuesta: Re: Need help with this

No like this:
public OnPlayerText(playerid, text[])
{
//Now les't make an admin chat, it will be: # <text>.
if( (text[0] == '#' || text[0] == '@') && strlen(text) > 1)
{
new str[128];...
Forum: Scripting Help 19/01/2013, 08:36 PM
Replies: 19
Views: 2,378
Posted By DeathOnaStick
Re: Create a variable equal to the current value of another variable (create a constant)

IMO it's completely irrelevant if he uses constants or not. He asked after constants so he gets them, that's how it works in the modern world. :p

@WellDone, did you try to reverse the collocation...
Forum: Scripting Help 19/01/2013, 08:33 PM
Replies: 3
Views: 535
Posted By DeathOnaStick
Re: Very simple Textdraw question

Alright thanks so far although there is a little contradiction in your answer I think I know what you mean.

Anyway the note in the wiki is very misleading if you are correct. It says:



It...
Forum: Scripting Help 19/01/2013, 08:23 PM
Replies: 19
Views: 2,378
Posted By DeathOnaStick
Re: Create a variable equal to the current value of another variable (create a constant)

Try something like this:
if(Tut[playerid]==1)
{
if(TutTime[playerid]==0)
{
SetPlayerInterior(playerid,0);
...
Forum: Scripting Help 19/01/2013, 08:20 PM
Replies: 7
Views: 518
Posted By DeathOnaStick
Re: Help me with this :D

Try "/gov blablablabla", won't it print "blablablabla"?
Forum: Scripting Help 19/01/2013, 08:18 PM
Replies: 7
Views: 667
Posted By DeathOnaStick
Re: Vehicles disappearing

Do you reset "PlayerInfo[playerid][Vehicle]" to -1 at OnPlayer(Dis)connect? If not, you should do that.
Forum: Scripting Help 19/01/2013, 08:14 PM
Replies: 19
Views: 2,378
Posted By DeathOnaStick
Re: Create a variable equal to the current value of another variable (create a constant)

Might I see all code that has to do with it? The problem is probably somewhere more deep.
Forum: Scripting Help 19/01/2013, 08:11 PM
Replies: 19
Views: 2,378
Posted By DeathOnaStick
Re: Create a variable equal to the current value of another variable (create a constant)

What does it do instead of porting them back to their location? Does it do nothing or something weird?
Forum: Scripting Help 19/01/2013, 08:09 PM
Replies: 7
Views: 518
Posted By DeathOnaStick
Re: Help me with this :D

#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");...
Forum: Scripting Help 19/01/2013, 08:07 PM
Replies: 7
Views: 518
Posted By DeathOnaStick
Re: Help me with this :D

#edit# you edited, I need to re-read your post.
Forum: Scripting Help 19/01/2013, 08:04 PM
Replies: 19
Views: 2,378
Posted By DeathOnaStick
Re: Create a variable equal to the current value of another variable (create a constant)

To fix the tag missmatch try this:
new Float:pos[3],Float:Angle;
GetPlayerPos(i,pos[0],pos[1],pos[2]);
GetPlayerFacingAngle(i,Angle);
new const Float:lesX = pos[0]; //2668
new const Float:lesY =...
Forum: Scripting Help 19/01/2013, 08:02 PM
Replies: 16
Views: 2,005
Posted By DeathOnaStick
Re: How to delete a gamemode.amx file?

At first, this is probably correct, although I'm not sure how far your R/W permissions go. If outside the scriptfiles folder or not. Still this is the only thing that might work, due to the fact that...
Forum: Scripting Help 19/01/2013, 07:55 PM
Replies: 7
Views: 667
Posted By DeathOnaStick
Re: Vehicles disappearing

I'd need your code for that. The declaration of the variable, the method that stores the IDs and the method that destroys the vehicles.
Forum: Scripting Help 19/01/2013, 07:53 PM
Replies: 8
Views: 958
Posted By DeathOnaStick
Re: Need help with this

Put an "return 1;" before the last closing bracket. Might fix it. Test and report here again.

This forum requires that you wait 120 seconds between posts. Please try again in 22 seconds.

#Edit#...
Forum: Scripting Help 19/01/2013, 07:51 PM
Replies: 7
Views: 518
Posted By DeathOnaStick
Re: Help me with this :D

if(IsPlayerAdmin(playerid)&&!strcmp(cmdtext, "/gov")){
SendClientMessageToAll(0xDEEE20FF, cmdtext[4]);
return 1;
}
Probably will do the job. Just try it and report.
Forum: Scripting Help 19/01/2013, 07:48 PM
Replies: 2
Views: 431
Posted By DeathOnaStick
Re: Unknown command?

What kind of system do you use for implementation? I'm something of an "Oldie", never seen the COMMAND thing before, only CMD (probably the same procedure...). If I were you I'd check whether...
Forum: Scripting Help 19/01/2013, 07:38 PM
Replies: 19
Views: 2,378
Posted By DeathOnaStick
Re: Create a variable equal to the current value of another variable (create a constant)

new x=2;
new y;
y=x;
printf("x==%i | y==%i", x, y);
x=5;
printf("x==%i | y==%i", x, y);

If I'm not wrong x will change its value and y won't.
y is a variable though; does it have to be a...
Forum: Scripting Help 19/01/2013, 07:25 PM
Replies: 3
Views: 535
Posted By DeathOnaStick
(Obviously not) Very simple Textdraw question

Hey guys!

I've never needed to script Textdraws... until now.
Due to the fact that the wiki-entries of the Textdraw functions are pretty nontransparent, I've got some questions about the use of...
Forum: Scripting Help 06/08/2012, 09:10 PM
Replies: 15
Views: 2,189
Posted By DeathOnaStick
Re: Hased passwords for samp

If you change that at the registration form, you also need to remove it from the login form.
Forum: Scripting Help 06/08/2012, 08:50 PM
Replies: 15
Views: 2,189
Posted By DeathOnaStick
Re: Hased passwords for samp

Why do you actually want to remove that? Seems kind of weird to me to remove security premeasurements.
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 07:11 PM.


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