07.12.2013, 15:28
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);
}
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);
}