SA-MP Forums Archive
script help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: script help (/showthread.php?tid=364754)



script help - Godzilla8957 - 31.07.2012

hey, when i try to remove buildings from the NG-RP script it always gives me like 26 errors.
can someone help

this is just an example

Код:
RemoveBuildingForPlayer(playerid, 16619, 199.3359, 1943.8750, 18.2031, 0.25);
RemoveBuildingForPlayer(playerid, 16323, 199.3359, 1943.8750, 18.2031, 0.25);



Respuesta: script help - HarlemSAMP - 31.07.2012

Quote:
Originally Posted by Godzilla8957
Посмотреть сообщение
hey, when i try to remove buildings from the NG-RP script it always gives me like 26 errors.
can someone help

this is just an example

Код:
RemoveBuildingForPlayer(playerid, 16619, 199.3359, 1943.8750, 18.2031, 0.25);
RemoveBuildingForPlayer(playerid, 16323, 199.3359, 1943.8750, 18.2031, 0.25);
Post the errors you have been given by pwn.


Re: Respuesta: script help - Godzilla8957 - 31.07.2012

Quote:
Originally Posted by HarlemSAMP
Посмотреть сообщение
Post the errors you have been given by pwn.
it only gave me 2 this time

Код:
C:\Users\Jordan\Desktop\Maximum Roleplay\gamemodes\NGRP_nomysql.pwn(19508) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Jordan\Desktop\Maximum Roleplay\gamemodes\NGRP_nomysql.pwn(19509) : error 017: undefined symbol "RemoveBuildingForPlayer"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.



Re: script help - Majed - 31.07.2012

1st of all post errors, 2nd of all,
Revise you're script again because one mistake can give u 26 errors.

See if you typed by mistake "]" except "}"

Example:
f(!dini_Exists(file) )
{
dini_Create(file);
dini_Set(file,"Name",name);
dini_IntSet(file,"Vip",0);
PlayerInfo[playerid][Vip] = 0;
SendClientMessage(playerid,COLOR_RED,"Your vip level is 0; !");
]<--- See this can cause u 26 errors. Make sure it's "}".

Good luck.


Re: script help - RelaxCafe - 31.07.2012

Update samp version..


Re: Respuesta: script help - Majed - 31.07.2012

Quote:
Originally Posted by Godzilla8957
Посмотреть сообщение
it only gave me 2 this time

Код:
C:\Users\Jordan\Desktop\Maximum Roleplay\gamemodes\NGRP_nomysql.pwn(19508) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Jordan\Desktop\Maximum Roleplay\gamemodes\NGRP_nomysql.pwn(19509) : error 017: undefined symbol "RemoveBuildingForPlayer"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
try

Код:
#define RemoveBuildingForPlayer



Re: script help - Dan. - 31.07.2012

Yes, update to 0.3e. RemoveBuildingForPlayer was added in samp version 0.3e.


Re: script help - Godzilla8957 - 31.07.2012

thanks, i got it working now


Re: script help - Johnny_Robins - 31.07.2012

NG-RP Script stolen. Close this thread now.


Re: script help - Godzilla8957 - 31.07.2012

Quote:
Originally Posted by Johnny_Robins
Посмотреть сообщение
NG-RP Script stolen. Close this thread now.
how did i steal the NG-RP script? i never stole it