SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 111
Search took 0.00 seconds.
Search: Posts Made By: IdonTmiss
Forum: Scripting Help 16/09/2018, 12:18 PM
Replies: 5
Views: 70
Posted By IdonTmiss
Re: error 025: function heading differs from prototype

The "a_samp" and other "a_"'s are
Forum: Scripting Help 16/09/2018, 12:06 PM
Replies: 5
Views: 70
Posted By IdonTmiss
Re: error 025: function heading differs from prototype

Nah, I still get "error 025: function heading differs from prototype"
Forum: Scripting Help 16/09/2018, 11:57 AM
Replies: 5
Views: 70
Posted By IdonTmiss
error 025: function heading differs from prototype

Well I'm getting the "error 025: function heading differs from prototype"

forward OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z);
public...
Forum: Scripting Help 08/09/2018, 12:31 PM
Replies: 6
Views: 80
Posted By IdonTmiss
Re: cache_get_value_name_float TAG MISMATCH

Can u give us your enum for house info?
Forum: Scripting Help 07/09/2018, 06:40 PM
Replies: 8
Views: 233
Posted By IdonTmiss
Re: Using some code lines to detect a cheat..?

"Precision with Deagle was almost 100%."

There's your answer. I mean why not, If u don't find a way to detect m4/ak-47 then just don't :D
Forum: Scripting Help 06/09/2018, 05:16 PM
Replies: 5
Views: 70
Posted By IdonTmiss
Forum: Scripting Help 06/09/2018, 05:04 PM
Replies: 5
Views: 70
Posted By IdonTmiss
Re: [Y_Hooks] Problem with OnPlayerDamage

Well I saw that Pawn.CMD was faster than y_commands that's why I use it
Forum: Scripting Help 06/09/2018, 04:40 PM
Replies: 5
Views: 70
Posted By IdonTmiss
[Y_Hooks] Problem with OnPlayerDamage

I tried hooking "OnPlayerDamage" from weapon-config it didn't work, the code I used


hook OnPlayerDamage(&playerid, &Float:amount, &issuerid, &weapon, &bodypart)
{
SetPlayerHealth(playerid,...
Forum: Scripting Help 20/08/2018, 07:11 PM
Replies: 5
Views: 93
Posted By IdonTmiss
Re: MySQL AI Problem

So every time I delete a house I need to modify AI?
Forum: Scripting Help 20/08/2018, 07:08 PM
Replies: 5
Views: 93
Posted By IdonTmiss
MySQL AI Problem

I have a house system in MySQL, and when I create a house it loops thorught out all houses and checks the next loop


stock House_Next() {
new number= -1;

for(new i = 1; i <...
Forum: Scripting Help 13/08/2018, 01:49 AM
Replies: 5
Views: 111
Posted By IdonTmiss
Re: mysql problem

As somebody said "It really is 2018, but telepathy isn't here" show us your line, where u set togglepm = 0;
Forum: Scripting Help 13/08/2018, 12:16 AM
Replies: 15
Views: 344
Posted By IdonTmiss
Re: Player color changed every secdon!

U can also improve the timer by doing the next thing


forward OneSecTimer(playerid);
public OneSecTimer(playerid)
{
switch(colorchanged[playerid])
{
case COLOR_BLACK:
{
Forum: Scripting Help 13/08/2018, 12:09 AM
Replies: 15
Views: 344
Posted By IdonTmiss
Re: Player color changed every secdon!

Well that's not a one second, try like this

SetTimerEx("OneSecTimer", 1000, true, "i", playerid);


If that doesn't work show me the server_log ( crashdetect mybe )

EDIT: Add the player's...
Forum: Scripting Help 13/08/2018, 12:00 AM
Replies: 3
Views: 103
Posted By IdonTmiss
Forum: Scripting Help 12/08/2018, 11:51 PM
Replies: 15
Views: 344
Posted By IdonTmiss
Re: Player color changed every secdon!

Well u create an timer that ticks every 1 second, if u want "random" colors like if your last was white u set it to black then u create variables, and take that 1 sec timer and put smth like this in...
Forum: Scripting Help 12/08/2018, 11:29 PM
Replies: 3
Views: 103
Posted By IdonTmiss
Re: MySQL Insert Error

It's not owner's name but if there is/isn't an owner like true/false
Forum: Scripting Help 12/08/2018, 11:22 PM
Replies: 3
Views: 103
Posted By IdonTmiss
MySQL Insert Error

I have a problem with this bit of code, so if anybody can help me, please do so :)


new q[500];
mysql_format(MyHandle, q, sizeof q, "INSERT INTO `table_3` (`type`, `shiet`, `fact`, `price`,...
Forum: Tutorials 08/08/2018, 10:17 PM
Replies: 19
Views: 7,179
Posted By IdonTmiss
Re: Run Samp two times in One Computer ("very usefull if you are making a gamemode / fs etc")

Sandboxie uses memory + GTA SA memory so, SAMPFUNCS is better in my case
Forum: Scripting Help 07/08/2018, 10:14 AM
Replies: 5
Views: 149
Posted By IdonTmiss
Re: Unlimited number of houses,vehicles,etc.

Well making an "unlimited" number of something isn't technically possible in SA:MP, there's a trick to make "unlimited" vehicles and it goes something like this

OnPlayerConnect

//So here u...
Forum: Scripting Help 06/08/2018, 02:50 PM
Replies: 7
Views: 271
Posted By IdonTmiss
Re: Ban system [ MySQL ]

a little bump?
Forum: Scripting Help 06/08/2018, 12:41 PM
Replies: 7
Views: 271
Posted By IdonTmiss
Re: Ban system [ MySQL ]

Then what should I type instead of that? :D
Forum: Scripting Help 06/08/2018, 04:28 AM
Replies: 7
Views: 271
Posted By IdonTmiss
Re: Ban system [ MySQL ]

Here you go


cmd:pban(playerid, params[]) {
if(PlayerInfo[playerid][pAdmin] < 1338) return SendClientMessage(playerid, RED, "Not allowed!");
new id, reason[ 40 ];
if( sscanf(...
Forum: Scripting Help 06/08/2018, 02:54 AM
Replies: 7
Views: 271
Posted By IdonTmiss
Re: Ban system [ MySQL ]

Looks like this happends only when I (ID: 0) ban someone I don't know why tho...
Forum: Scripting Help 06/08/2018, 01:49 AM
Replies: 7
Views: 271
Posted By IdonTmiss
Ban system [ MySQL ]

Well the command and everything works it just doens't load the ban somehow when the player connects

OnPlayerConnect

new query[200];
mysql_format(SQL, query, sizeof(query), "SELECT * FROM...
Forum: Scripting Help 05/08/2018, 10:30 PM
Replies: 4
Views: 106
Posted By IdonTmiss
Re: A legit working Missing Bracket Finder?

Meh, thanks anyway - solved ( I re-checked the code so no programs ) :)
Showing results 1 to 25 of 111

 

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


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