Search Results
pawn Код: CMD:test(playerid){    new playername[MAX_PLAYER_NAME];    GetPlayerName(playerid, playername, MAX_PLAYER_NAME);    if(strcmp("Jay_Dixon",playername, false) == 0)    {       ...
146
Searched a bit and found this: pawn Код: forward Float:GetDistanceBetweenVehicles(vehicleid,carid);public Float:GetDistanceBetweenVehicles(vehicleid,carid){    new Float:x1,Float:y1,Float:z1,Flo...
105
You are right about the UserPath, my mistake. About the INI:filename the code I gave you is the code you should use according to YSI tutorial.
181
pawn Код: stock UserPath(playerid){    new string[128],playername[MAX_PLAYER_NAME];    GetPlayerName(playerid,playername,sizeof(playername));    format(string,sizeof(string),PATH,playername)...
181
Same as the players. For example, if you got 50 players online, and your MAX_PLAYERS is 500, then you can have 450 NPCs. Not sure.
92
pawn Код: new PCar = GetClosestVehicle(playerid);if(PCar == 0) As you can probably guess, the GetClosetVehicle stock will return the vehicle id, and you check if the vehicle id is 0...? If you u...
275
Add this: pawn Код: Wait = floatround((Wait/60),floatround_ceil); Under this: pawn Код: Wait = (gettime() - PlayerInfo[playerid][pSmugglerWait]); This will return the minutes left.
95
pawn Код: if(gTeam[playerid] == TEAM_USA && iCP[playerid] == AbandonedAp)    {    GangZoneShowForAll(Zone[AbandonedAp],COLOR_BLUE);    new string[128], pName5[MAX_PLAYER_NAME];    ...
69
pawn Код: new monsters[10];    monsters[0] = CreateVehicle(444,-1478.7618,943.6302,1041.3199,66.6085,0,196,124);     monsters[1] = CreateVehicle(444,-1469.9274,939.5936,1041.3219,73.5877,0,196...
142
pawn Код: format(RegDate, 128, "%d:%d:%d - %d/%d/%d", Hour, Minute, Second, Day, Month, Year);dini_Set(file, "RegisterDate",RegDate);
57
define a new string. format it. Put it at the right place. pawn Код: new str[128];format(str,sizeof(str),"Type Welcome Back to NewERA Roleplay %s, type your password to log back in:",RPName(player...
59
You are wrong, for example if I start the gm on 8:00, and log in on 8:59, I'll still receive the bonus, although I did not play an hour. I guess he has to use SetTimerEx.
101
Show us the /stats command.
242
Check when the numbers gets to 100, and then kill the timer, or destroy the texdraw.
58
Add the same line under OnPlayerSpawn.
97
Add SetPlayerPos before SetPlayerCameraPos and use the same coords. Plus don't forget to freeze the player.
118
Why is those msgs needed? It will cause useless spam in my opinion, since you want to place it under OnPlayerSpawn. pawn Код: stock GivePlayerWeapons(playerid) // change this to whatever you want....
75
pawn Code: if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER && GetOnlinePlayers() < 15)    {    new vehicleid = GetPlayerVehicleID(playerid);    if(GetVe...
124