Search Results
Quote:
Originally Posted by kloning1
nah terus kalau buat loadny gmn :v
lngsng kah??
Код:
format(string, sizeof(string), " Last Connect %d" PlayerInfo[playerid][pTime]);
SendClientMes...
130
Make a player variable to hold last connect, ex: pTime
pawn Код:
public OnPlayerDisconnect(playerid){  PlayerInfo[playerid][pTime] = gettime();  // then save it  return 1;}
Then load ...
130
Wow! It's a great tutorial!
It will be very useful, thanks!
2,048
EDIT: Too Late
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){Â Â if(GetVehicleModel(vehicleid) == 520 && !ispassenger) //Check if the vehicle is Hydra and he's ...
139
Change this
pawn Код:
if(pInfo[playerid][pAdminLevel] < 1)&&((GetPlayerSpecialAction(i) == SPECIAL_ACTION_USEJETPACK)
To this:
pawn Код:
if(pInfo[i][pAdminLevel] < 1 && ...
108
Great work!
Nice Kalcor!
15,984
Quote:
Originally Posted by TazmaNiax
RenovanZ for he bullshit
Why ?
OT: Nice map, dude
426
Read this
If you're looking for include, search it, there are many releases about it.
166
pawn Код:
new promotename[10]; //it's one of the sscanf parametersif(!strcmp(promotename, "admin")) // (Line 4248) instead of "promotename == integer" if the promotename is not indexed with [10]{Â...
145
Use strcmp to compare strings
145
pawn Код:
CMD:healall(playerid, params[]) //Create a command (you need ZCMD/y_commands to do this thing){  for(new i = 0; i < GetMaxPlayers(); i++) //Looping to all players  {   Â...
225
pawn Код:
mysql_fetch_row_format(Query, "|");    sscanf(Query, "p<|>s[24]s[128]iiiiis[16]",pInfo[playerid][nickname],pInfo[playerid][pass],pInfo[playerid][score],    pInfo[pl...
141
Have you check your /myhouses script, is the vw/interior have been set ?
236
Can I see your t_GetPlayer function ? And what it does ?
191
pawn Код:
new rank[3]; //new means you've made a NEW empty variable, which the value is null  new p3[MAX_PLAYER_NAME]; //^^  new p2[MAX_PLAYER_NAME]; //^^  new p1[MAX_PLAYER_NAME]; //^...
191
Update your sscanf2, and show your error code.
216
Quote:
Originally Posted by SPA
Thanks + rep , but where to add both of functions? onplayerupdate?
You should place the first function to OnPlayerConnect (dont forget to show it).
Also,...
235
Quote:
Originally Posted by arlindi
But why you are using string2 ?
Because he combined (strcat) this string:
pawn Код:
format(string, sizeof(string), "Skin 1: Fattie - Shootgun + P...
166
Which textdraw is disappearing ? Both of them ?
235