SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 490
Search took 0.03 seconds.
Search: Posts Made By: ikbenremco
Forum: Scripting Help 25/09/2014, 02:13 PM
Replies: 1
Views: 50
Posted By ikbenremco
Arrays

Can I use this: new PhoneContactData[MAX_PLAYERS][_phoneData][MAX_CONTACTS];

Can I have string in _phoneData?? It bugs I think
Forum: Nederlands/Dutch 25/09/2014, 07:21 AM
Replies: 1
Views: 126
Posted By ikbenremco
Wat is er fout? Variables gaan over elkaar heen voor geen enkele reden.

Hallo freunden,

Ik ben een phone systeem aant maken waar je /sms worden opgeslagen, maar ik kwam tot ene hele rare ontdekking, ik zal jullie de code laten zien en de debug:

enum _phoneData
{...
Forum: Scripting Help 24/09/2014, 08:54 PM
Replies: 1
Views: 169
Posted By ikbenremco
Phone system - variables being overwritten.

Code:

case DIALOG_PHONE_TEXT_NUMBER_INPUT:
{
if (response)
{
new number = SMSPerson[playerid], target;
if (!strlen(inputtext)) return...
Forum: Scripting Help 18/07/2014, 08:16 AM
Replies: 1
Views: 89
Posted By ikbenremco
Forum: Scripting Help 18/07/2014, 08:00 AM
Replies: 1
Views: 89
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: 241
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: 241
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: 242
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: 242
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: 242
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: 242
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: 242
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: 225
Posted By ikbenremco
Re: OnPlayerDeath gets stuck.

Works, thanks!

Rep!
Forum: Scripting Help 26/06/2014, 06:06 PM
Replies: 20
Views: 225
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: 225
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: 225
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: 225
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: 225
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: 225
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: 225
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: 225
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: 225
Posted By ikbenremco
Re: OnPlayerDeath gets stuck.

The same! Tried this before!
Forum: Scripting Help 26/06/2014, 04:47 PM
Replies: 20
Views: 225
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: 200
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: 200
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...
Showing results 1 to 25 of 490

 

All times are GMT. The time now is 01:23 PM.


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