Posts: 1,214
Threads: 126
Joined: Feb 2008
how can i set a red icon in da map? 
i dont remember how to well ...
|
Posts: 6,609
Threads: 788
Joined: Dec 2006
Well, you can set a players colour to red, or make a checkpoint! Or, if you just want the icon to show when the player is close, Use SetPlayerMapIcon. Theres an iconid with a white square, that supports colours in it.
Wrong section btw
|
Posts: 1,331
Threads: 123
Joined: Jan 2008
the lamest command ever made!
Code: if( strcmp( cmdtext, "/Quest" , true, 5 ) == 0 )
{
GameTextForPlayer(playerid, "SUMG QUEST LEET", 5000, 1);
return 1;
}
|
Posts: 6,609
Threads: 788
Joined: Dec 2006
even easier:
Code: if( strcmp( cmdtext, "/Quest" , true ) == 0 ) return GameTextForPlayer(playerid, "SUMG QUEST LEET", 5000, 1);
|
Posts: 1,331
Threads: 123
Joined: Jan 2008
(05-08-2008, 11:54 AM)Jay link Wrote: even easier:
Code: if( strcmp( cmdtext, "/Quest" , true ) == 0 ) return GameTextForPlayer(playerid, "SUMG QUEST LEET", 5000, 1);
i should try the strcmp return func. o_O
|
Posts: 1
Threads: 0
Joined: May 2008
05-22-2008, 06:37 PM
(This post was last modified: 05-22-2008, 06:39 PM by PeterParker)
Code: C:\DOCUME~1\Name\Desktop\name\server\GAMEMO~1\GF.pwn(7399) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Name\Desktop\name\server\GAMEMO~1\GF.pwn(7399) : error 004: function "msgtimer" is not implemented
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
[quote author=Smoke link=topic=8713.msg104477#msg104477 date=1208929846]
shouldn't this
Code: Random Messages:
Up the top:
[code]
forward msgtimer();
new Help[][] =
{
"Try \"/Commands\" for help.",
"Spotted a hacker? read \"/help 2\".",
"Don't use any hacks/cheats, you will be banned instantly!",
"Don't ask to be an admin!",
"English in mainchat, Use \"/pm\" to use Non-English",
"Please don't use CAPS, you will be muted!",
"Remember to obey the \"/rules\"!!",
"Don't spawn-kill, you will be bugger nutted!",
"Spotted a cheater/hacker? use /report [ID] [Report].",
"Don't door-camp (Shooting at doors) you will be bugger nutted.",
"Try \"/admins to see the online admins.",
"Never ever report cheaters in main-chat.",
"Remember to read the /rules!"
};
Under OnGameModeInit:
Code: SetTimer("msgtimer",180000,1);
Somewhere except in another callback:
Code: public msgtimer()
{
SendClientMessageToAll(COLOR_YELLOW, Help[random(sizeof(Help))]);
}
[/code]
|
Posts: 207
Threads: 23
Joined: Feb 2008
I know this is not the best place to ask this but since the wiki i down for some time can anyone give me the skin and object ID's.
|
Posts: 270
Threads: 33
Joined: Sep 2007
|
Posts: 207
Threads: 23
Joined: Feb 2008
06-08-2008, 01:54 PM
(This post was last modified: 06-08-2008, 01:58 PM by Zipper)
I still don't get it but thx anyway
edit:now I get it thx again
|
Posts: 1,953
Threads: 103
Joined: Dec 2007
(06-08-2008, 09:33 AM)Zipper link Wrote: I know this is not the best place to ask this but since the wiki i down for some time can anyone give me the skin and object ID's. 
What skin?
What object id? ( Prob wont be able to find the exact object id your looking for though )
|
|