SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 487
Search took 0.07 seconds.
Search: Posts Made By: ikbenremco
Forum: Scripting Help 18/07/2014, 08:16 AM
Replies: 1
Views: 76
Posted By ikbenremco
Forum: Scripting Help 18/07/2014, 08:00 AM
Replies: 1
Views: 76
Posted By ikbenremco
Player frozen upon trying to shoot.

Hello,
I've found out that my shooting system is kinda fucked up, I already tried to comment everything out on OnPlayerUpdate and OnPlayerKeyStateChange. I have no clue why it's fucked up like this...
Forum: Nederlands/Dutch 01/07/2014, 05:27 PM
Replies: 2
Views: 174
Posted By ikbenremco
Re: Mijn game crasht wanneer ik wil spawnen

Nee ik had het al gevonden in al mijn haast had ik 'Crack' naar 'Cocaine' veranderd door CTRL + H te gebruiken, daarom veranderde PreloadAnimLib(playerid, "CRACK"); naar PreloadAnimLib(playerid,...
Forum: Nederlands/Dutch 01/07/2014, 04:18 PM
Replies: 2
Views: 174
Posted By ikbenremco
Mijn game crasht wanneer ik wil spawnen

Hallo!

Ik heb ieds raars ontdekt, ik was de hele ochtend aant scripten en toen besloot ik eens om IG te gaan, toen ik dat deed crashte ik toen ik ging spawnen.

Het zijn geen mappings, die heb...
Forum: Scripting Help 01/07/2014, 03:58 PM
Replies: 10
Views: 223
Posted By ikbenremco
Re: Players crash when they wanna spawn

Found something new:

[18:21:58] Warning(opcode 0x4EE): Exception 0xC0000005 at 0x48C3A9

[18:21:58] Warning(opcode 0x4EE): Exception 0xC0000005 at 0x48C3A9

[18:21:58] Warning(opcode 0x4EE):...
Forum: Scripting Help 01/07/2014, 02:53 PM
Replies: 10
Views: 223
Posted By ikbenremco
Re: Players crash when they wanna spawn

Everything is setted correctly.
Forum: Scripting Help 01/07/2014, 02:01 PM
Replies: 10
Views: 223
Posted By ikbenremco
Re: Players crash when they wanna spawn

public OnPlayerSpawn(playerid)
{
if(Tutorial[playerid])
{
TogglePlayerSpectating(playerid, false);
SetPlayerHealth(playerid, 100);
SetPlayerInterior(playerid,...
Forum: Scripting Help 01/07/2014, 01:48 PM
Replies: 10
Views: 223
Posted By ikbenremco
Re: Players crash when they wanna spawn

Everyone crashes upon login;

What could cause this crash? If you tell me how it starts, I can find the problem instead of posting here.
Forum: Scripting Help 01/07/2014, 01:09 PM
Replies: 10
Views: 223
Posted By ikbenremco
Players crash when they wanna spawn

Crash error; http://pastebin.com/CmXsFXwd

Happends when they try to spawn.
Forum: Scripting Help 26/06/2014, 06:24 PM
Replies: 20
Views: 196
Posted By ikbenremco
Re: OnPlayerDeath gets stuck.

Works, thanks!

Rep!
Forum: Scripting Help 26/06/2014, 06:06 PM
Replies: 20
Views: 196
Posted By ikbenremco
Re: OnPlayerDeath gets stuck.

Can you show me how to do it correctly?
Forum: Scripting Help 26/06/2014, 06:01 PM
Replies: 20
Views: 196
Posted By ikbenremco
Re: OnPlayerDeath gets stuck.

I am never comparing AcceptedHit with INVALID_PLAYER_ID
Forum: Scripting Help 26/06/2014, 05:53 PM
Replies: 20
Views: 196
Posted By ikbenremco
Re: OnPlayerDeath gets stuck.

new AcceptedHit[MAX_PLAYERS];

Under ClearVariables(playerid);

AcceptedHit[playerid] = 999;
Forum: Scripting Help 26/06/2014, 05:49 PM
Replies: 20
Views: 196
Posted By ikbenremco
Re: OnPlayerDeath gets stuck.

printf("OnPlayerDeath: Debug 7"); // Last print
if (AcceptedHit[killerid] == playerid && killerid != INVALID_PLAYER_ID)
{
printf("OnPlayerDeath: Debug 8"); // Doens\'t print
Forum: Scripting Help 26/06/2014, 05:45 PM
Replies: 20
Views: 196
Posted By ikbenremco
Re: OnPlayerDeath gets stuck.

I got that already, read the code above.

He's crashing on this line; if (AcceptedHit[killerid] == playerid && killerid != INVALID_PLAYER_ID)
Forum: Scripting Help 26/06/2014, 05:35 PM
Replies: 20
Views: 196
Posted By ikbenremco
Re: OnPlayerDeath gets stuck.

[19:56:16] OnPlayerDeath debug 1: 0 | 65535 | 255 | 999
[19:56:16] OnPlayerDeath: Debug 1
[19:56:16] OnPlayerDeath: Debug 7
[19:56:16] [death] Jihad_Warrior died 255

It crashes after the 7
Forum: Scripting Help 26/06/2014, 05:29 PM
Replies: 20
Views: 196
Posted By ikbenremco
Re: OnPlayerDeath gets stuck.

Code: printf("OnPlayerDeath debug 1: %d | %d | %d | %d", playerid, killerid, reason, AcceptedHit[playerid]);
printf("OnPlayerDeath: Debug 1");
if (killerid != INVALID_PLAYER_ID &&...
Forum: Scripting Help 26/06/2014, 05:21 PM
Replies: 20
Views: 196
Posted By ikbenremco
Re: OnPlayerDeath gets stuck.

printf("OnPlayerDeath debug 1: %d | %d | %d | %d", playerid, killerid, reason, AcceptedHit[playerid]);
if (killerid != INVALID_PLAYER_ID && AcceptedHit[playerid] == killerid &&...
Forum: Scripting Help 26/06/2014, 05:12 PM
Replies: 20
Views: 196
Posted By ikbenremco
Re: OnPlayerDeath gets stuck.

The same! Tried this before!
Forum: Scripting Help 26/06/2014, 04:47 PM
Replies: 20
Views: 196
Posted By ikbenremco
OnPlayerDeath gets stuck.

Hi, I've encountered a strange problem with my OnPlayerDeath, if there is player who died by a INVALID_PLAYER_ID for example if an admin does /sethp 0 0, he will spawn at 0,0,0 and be in the CJ...
Forum: Scripting Help 26/06/2014, 07:12 AM
Replies: 8
Views: 184
Posted By ikbenremco
Re: Loop + Dialog question.

Fixed the faction issue, still need an answer for the OnPlayerDeath
Forum: Scripting Help 25/06/2014, 08:22 PM
Replies: 8
Views: 184
Posted By ikbenremco
Re: Loop + Dialog question.

Bump, and I got another question I added this hitman system on OnPlayerDeath:

printf("OnPlayerDeath: %d | %d | %d | %d", playerid, killerid, reason, AcceptedHit[playerid]); // is called
if...
Forum: Scripting Help 25/06/2014, 10:30 AM
Replies: 8
Views: 184
Posted By ikbenremco
Re: Loop + Dialog question.

CMD:editfaction(playerid, params[]) // Edits the faction through a dialog
{
if(CharacterData[playerid][pAdmin] >= 5)
{
new totalfac = 0, largestring[504];
for(new i = 1; i <...
Forum: Scripting Help 25/06/2014, 09:10 AM
Replies: 8
Views: 184
Posted By ikbenremco
Re: Loop + Dialog question.

Imagine; you got a dynamic faction system, you will create 3 factions:

1: LSPD
2: LSFMD
3: Hitman

Then you decide to remove the LSFMD, this will make:

1: LSPD
2: None
Forum: Scripting Help 24/06/2014, 05:31 PM
Replies: 8
Views: 184
Posted By ikbenremco
Loop + Dialog question.

Hi,

I got a small question, when I do /factions for example, it's displaying the factions.

Let's say:

Faction 1: LSPD
Faction 2: Hitman
Faction 3: FBI
Showing results 1 to 25 of 487

 

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


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