Scripting Gates [HELP]
#1

Ok hi, i need help with scritping a gate command for the gate to open and close but when i compile it says insufficent memory.
Here is the Command that i scripted.
Quote:

public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmd, "/dpdopen", true) == 0) (;
MoveObject(Gate, 648.79998779,-624.79998779,17.10000038, 1);
SendClientMessage(playerid, Blue, "DPD Gate is opening.");
return 1;
}
if(strcmp(cmd, "/dpdclose", true) == 0) (;
MoveObject(Gate, 648.90002441,-627.40002441,17.20000076. 1);
SendClientMessage(playerid, Blue, "DPD Gate is closing.");
return 1;

And this is what it says when i compile.
Quote:

C:\Documents and Settings\Devin\Desktop\HG RolePlay Script New\pawno\dpdGate.pwn( 97 -- 98 ) : fatal error 103: insufficient memory

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Please help if you know how to fix this.
Reply


Messages In This Thread
Scripting Gates [HELP] - by smashed390 - 23.12.2011, 01:18
Re: Scripting Gates [HELP] - by adios1 - 23.12.2011, 01:26
Re: Scripting Gates [HELP] - by jason1212 - 23.12.2011, 01:30
Re: Scripting Gates [HELP] - by smashed390 - 23.12.2011, 01:30
Re: Scripting Gates [HELP] - by adios1 - 23.12.2011, 01:34
Re: Scripting Gates [HELP] - by smashed390 - 23.12.2011, 01:39
Re: Scripting Gates [HELP] - by adios1 - 23.12.2011, 01:45
Re: Scripting Gates [HELP] - by smashed390 - 23.12.2011, 01:48
Re: Scripting Gates [HELP] - by adios1 - 23.12.2011, 01:49
Re: Scripting Gates [HELP] - by smashed390 - 23.12.2011, 01:52

Forum Jump:


Users browsing this thread: 1 Guest(s)