/givecookieall - 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: /givecookieall (
/showthread.php?tid=279867)
/givecookieall -
uprp - 29.08.2011
fixed, thanks awot
Re: /givecookieall -
Jafet_Macario - 29.08.2011
pawn Код:
if(strcmp(cmd,"/givecookieall", true) == 0)
{
if(IsPlayerConnected(playerid))
{
// Your codes ?
}
return 1;
}
Re: /givecookieall -
IceCube! - 29.08.2011
pawn Код:
if(strcmp(cmd,"/givecookieall", true) == 0)
for(new playerid=0; playerid<MAX_PLAYERS; playerid++)
{
if(IsPlayerConnected(playerid))
{
Cookie++;// how you define cookies
}
return 1;
}
EDIT: ^^ The code above also works
Re: /givecookieall -
uprp - 29.08.2011
I mean a full one, which gives a cookie, not just the strip.
Re: /givecookieall -
IceCube! - 29.08.2011
Quote:
Originally Posted by uprp
I mean a full one, which gives a cookie, not just the strip.
|
YOu mean you want us to make you a cookie system whle i personly am not going to... try looking at a tutorial or a filterscript
there is a little search button too you know
Re: /givecookieall -
Farsek - 29.08.2011
First off,what kind of "cookie system" did you use?
Re: /givecookieall -
uprp - 29.08.2011
NVM, done it easily.