lil Help!1
#1

well im making a gamemode.. :ehehhehe

i knw im a noob but still i want to give it a try... so to start with.. i wana knw the following things..
1. How to show the server's name in big letters when anyone enters the server (not client message)
2. when u get the spawn option of the player ! (skins) how to change the background
3. how to teleport a player to a specific area.. when he clicks on spawn (skin) when he enters the server... i think it is something AddPlayerClass ... dono ..!!
4. how to completely disable weapon...(the player should not have anyweapon when he enters the server or while playing)

thankkss and sorry for my bad english
Reply
#2

Quote:
Originally Posted by unique1801
well im making a gamemode.. :ehehhehe

i knw im a noob but still i want to give it a try... so to start with.. i wana knw the following things..
1. How to show the server's name in big letters when anyone enters the server (not client message)
2. when u get the spawn option of the player ! (skins) how to change the background
3. how to teleport a player to a specific area.. when he clicks on spawn (skin) when he enters the server... i think it is something AddPlayerClass ... dono ..!!
4. how to completely disable weapon...(the player should not have anyweapon when he enters the server or while playing)

thankkss and sorry for my bad english
1. https://sampwiki.blast.hk/wiki/GameTextForPlayer
2. under OnPlayerRequestClass: https://sampwiki.blast.hk/wiki/SetPlayerPos,
https://sampwiki.blast.hk/wiki/SetPlayerCameraPos, https://sampwiki.blast.hk/wiki/SetPlayerFacingAngle, https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt, https://sampwiki.blast.hk/wiki/SetPlayerInterior
3. under OnPlayerSpawn and SetPlayerPos, uhm and ye you could use https://sampwiki.blast.hk/wiki/AddPlayerClass
4. the option SetPlayerDisabledWeapon(s) has been disabled in 0.3 so ..
Reply
#3

well im a noob.. so if could explain me?

please!! .. pls explain me the 1st... gametext...where to add it..and all tat stuff

anywayz thankxx!
Reply
#4

under OnPlayerConnect

GameTextForPlayer(playerid,"~w~Your text here!",6000,4);
Reply
#5

It explains if you had read any of them. You ask for these things done for you but you say you want to try.
Reply
#6

Quote:
Originally Posted by unique1801
well im a noob.. so if could explain me?

please!! .. pls explain me the 1st... gametext...where to add it..and all tat stuff

anywayz thankxx!
np
Reply
#7

Quote:
Originally Posted by Virtual1ty
4. the option SetPlayerDisabledWeapon(s) has been disabled in 0.3 so ..
pawn Код:
public OnPlayerUpdate(playerid)
{
  if(GetPlayerWeapon(playerid) > 0)
  {
    return 0;
  }
  return 1;
}
This will desync the player who has a weapon so other players will see him without any weapons. Damage from weapons also won't be dealt
Reply
#8

@ GforceNL
thanx for that!! it did work!!
but can u pls tell me how to add some more graphix to it... something which looks good (text)
Reply
#9

pls help!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)