Help me - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Help me (
/showthread.php?tid=479852)
Help me -
nisva003 - 07.12.2013
Hey i am a newbie and i don't know where i should add this pawn code.
Please help me like where should i add the pawn code should i add it with the gamemode or like where i don't understand where i should add this code please help.
pawn Code:
// inside OnPlayerSpawn (just to make sure he joined and etc.
if(PlayerInfo[playerid] [pVIP] == 0)
{
PlayerInfo[playerid][pVIP] = 1;
GameTextForPlayer(playerid, "Welcome, You Have Recieved VIP level 1. ~n~ Type ~r~ /vcmds ~w~ and see The VIP Commands.", 3000, 5);
}
Re: Help me -
BlueBaron - 07.12.2013
Quote:
// inside OnPlayerSpawn (just to make sure he joined and etc.
if(PlayerInfo[playerid] [pVIP] == 0)
{
PlayerInfo[playerid][pVIP] = 1;
GameTextForPlayer(playerid, "Welcome, You Have Recieved VIP level 1. ~n~ Type ~r~ /vcmds ~w~ and see The VIP Commands.", 3000, 5);
}
|
It explains where, you open your gamemode and add the code under OnPlayerSpawn(Inside Pawno, press CTRL + F, and search for OnPlayerSpawn).
Re: Help me -
nisva003 - 07.12.2013
Quote:
Originally Posted by bluebaron
It explains where, you open your gamemode and add the code under OnPlayerSpawn(Inside Pawno, press CTRL + F, and search for OnPlayerSpawn).
|
Thanks bro ill give rep in 24 hours i have to wait