public Advertisements()
{
new dice = random(7)+1;
ad = dice;
Advertisements2();
return 1;
}
public Advertisements2()
{
new string[255];
new ftext[255];
if(ad == 1) { ftext = \" Látogass el weblapunkra! (WEblap:.... ) \"; }
format(string, sizeof(string), \"%s\", ftext);
SendClientMessageToAll(0xFF800096, string); //szinkód ezt változtathatod: 0xFF800096
return 1;
}
[/quote]
#include <a_samp>
public Advertisements()
{
new dice = random(7)+1;
ad= dice;
Advertisements2();
return 1;
}
public Advertisements2()
{
new string[255];
new ftext[255];
if(ad == 1) { ftext = \" Látogass el weblapunkra!(www.gta-sa.weboldala.net )\";
}
format(string, sizeof(string), \"%s\", ftext);
SendClientMessageToAll(0xFF800096, string); //szinkód ezt változtathatod: 0xFF800096
return 1;
}
[/quote]
ezt írja én nem tudon angolul csak németûl.
C:\\DOCUME~1\\sanyo\\Asztal\\WEBLAP~1.PWN(3) : warning 235: public function lacks forward declaration (symbol \"Advertisements\")
C:\\DOCUME~1\\sanyo\\Asztal\\WEBLAP~1.PWN(6) : error 017: undefined symbol \"ad\"
C:\\DOCUME~1\\sanyo\\Asztal\\WEBLAP~1.PWN(6) : warning 215: expression has no effect
C:\\DOCUME~1\\sanyo\\Asztal\\WEBLAP~1.PWN(10) : warning 235: public function lacks forward declaration (symbol \"Advertisements2\")
C:\\DOCUME~1\\sanyo\\Asztal\\WEBLAP~1.PWN(14) : error 017: undefined symbol \"ad\"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
[/quote]
public Advertisements()
{
new dice = random(7)+1;
ad = dice;
Advertisements2();
return 1;
}
public Advertisements2()
{
new string[255];
new ftext[255];
if(ad == 1) { ftext = \"~~ Látogass el weblapunkra! ( - ) ~~\"; }
else if(ad == 2) { ftext = \"~~ Hackert vagy Cheatert láttál ird meg nekünk /report ~~\"; }
else if(ad == 3) { ftext = \"~~ Szükséged van pénzre ? Csóro vagy ? Vállalj munkát ! ~~\"; }
else if(ad == 4) { ftext = \"~~ Ha mentõre vagy rendõrre van szükséged hivd a (/call) 911-es számot ~~\"; }
else if(ad == 5) { ftext = \"~~ Nincs kocsid? Nem akarsz gyalog menni? Hívj taxit! /call 444 ~~\"; }
format(string, sizeof(string), \"%s\", ftext);
SendClientMessageToAll(0xF77409FF, string);
return 1;
}
[/quote]
tessék ;) :) :D
Most leirtam több mintával jónakkell lennie am a móded végére tedd bele a legg végére egy sor kihagyással az allatalevõnek meg a felette lévonek is ... :D :)
public OnGameModeInit()
{
SetTimer(\"www\", 180000, true);
return 1;
}
forward www();
public www()
{
SendClientMessageToAll(0xFFCC0096,\"www.ideírdazoldalad.hu\");
return 1;
}