SA-MP Forums Archive
3 Questions. - 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: 3 Questions. (/showthread.php?tid=375258)



3 Questions. - [A]ndrei - 06.09.2012

How come my ID does not show when is saw soemthing in chat?
Is there a was to change the Map:
And how can i get all the skins?


Re: 3 Questions. - Passout - 06.09.2012

Quote:
Originally Posted by [A]ndrei
Посмотреть сообщение
How come my ID does not show when is saw soemthing in chat?
Is there a was to change the Map:
And how can i get all the skins?
sa-mp wiki and the search button here can answer all of these wonderful questions.


Re: 3 Questions. - lamarr007 - 06.09.2012

1) Simple add this anywhere to your GM:
pawn Код:
public OnPlayerText(playerid, text[])
{
    new pName[MAX_PLAYER_NAME], string[144];
    GetPlayerName(playerid, pName,sizeof(pName));
    format(string, sizeof(string), "%s[%i]: %s", pName, playerid, text);
    printf(string);
    SendClientMessageToAll(0xFFFFFFFF, string);
    return 0;
}
2) In server.cfg add
Код:
mapname LS/SF
(Just for example)
3) In OnGameModeInit()
pawn Код:
for(new s = 1; s < 300; s++)
{
    AddPlayerClass(s, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
}



Re: 3 Questions. - [A]ndrei - 06.09.2012

Hey man antoehr question whats the best hoster for cheap olny hosting? not the site?


Re: 3 Questions. - [ABK]Antonio - 06.09.2012

Quote:
Originally Posted by lamarr007
Посмотреть сообщение
3) In OnGameModeInit()
pawn Код:
for(new s = 1; s < 300; s++)
{
    AddPlayerClass(s, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
}
Might want to add a check in there - skin ID 74 doesn't exist (at least what the wiki says (i think you skipped CJ's skin ID on purpose (0) so prolly don't need to say anything about that)


Re: 3 Questions. - [A]ndrei - 06.09.2012

EDIT: Het bro i need to in ZCMD please.


Re: 3 Questions. - lamarr007 - 06.09.2012

ZCMD is for commands.. this is not commands
Quote:

Might want to add a check in there - skin ID 74 doesn't exist (at least what the wiki says (i think you skipped CJ's skin ID on purpose (0) so prolly don't need to say anything about that)

I donґt know that.. and I deliberately donґt add CJ to classes
pawn Код:
for(new s; s < 300; s++)
{
    if(!= 74)
    {
        AddPlayerClass(s, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    }
}
For free hosting, try pipni.cz.. But itґs in Czech.


Re: 3 Questions. - [A]ndrei - 06.09.2012

lamarr007 hey can you give me ALL the skin and ADD CJ!
Also can you put them in paste bin?


Re: 3 Questions. - [A]ndrei - 06.09.2012

Also wh n i put for the id thing it sill does not show the id


Re: 3 Questions. - [A]ndrei - 12.09.2012

can someone please give me the code im waiting the one including cj and EVEY SKIN!