SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: RenovanZ
Forum: Tools and Files 26/05/2018, 08:22 PM
Replies: 23
Views: 11,533
Posted By RenovanZ
Re: SA-MP One-click version switcher

Looks nice, will check it out.
Forum: Scripting Help 01/12/2014, 07:40 AM
Replies: 3
Views: 502
Posted By RenovanZ
Re: how to make last connect?

Please speak English in a Global Forum
You have to convert your variable to a regular time, you need this function to do so:
stock ConvertMsToTime(ms)
{
new seconds = ms/1000;
new...
Forum: Scripting Help 01/12/2014, 07:25 AM
Replies: 3
Views: 502
Posted By RenovanZ
Re: how to make last connect?

Make a player variable to hold last connect, ex: pTime
public OnPlayerDisconnect(playerid)
{
PlayerInfo[playerid][pTime] = gettime();
// then save it
return 1;
}

Then load your...
Forum: Tutorials 18/11/2014, 08:48 AM
Replies: 51
Views: 20,654
Posted By RenovanZ
Re: MySQL - Event scheduler

Wow! It's a great tutorial!
It will be very useful, thanks!
Forum: Scripting Help 08/07/2014, 06:52 PM
Replies: 5
Views: 1,213
Posted By RenovanZ
Re: Removing player from hydra if GetPlayerScore(playerid) <- 1000

EDIT: Too Late
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(GetVehicleModel(vehicleid) == 520 && !ispassenger) //Check if the vehicle is Hydra and he's not passenger
{...
Forum: Scripting Help 07/07/2014, 09:27 AM
Replies: 2
Views: 277
Posted By RenovanZ
Re: Wrong -.- I cant fix this

Change this
if(pInfo[playerid][pAdminLevel] < 1)&&((GetPlayerSpecialAction(i) == SPECIAL_ACTION_USEJETPACK)

To this:
if(pInfo[i][pAdminLevel] < 1 && (GetPlayerSpecialAction(i) ==...
Forum: News and Updates 05/07/2014, 12:42 PM
Replies: 165
Views: 91,794
Posted By RenovanZ
Re: SA-MP 0.3z R3 server update

Great work!
Nice Kalcor!
Forum: Maps 03/07/2014, 08:21 AM
Replies: 18
Views: 3,882
Posted By RenovanZ
Re: Monas - Monumen Nasional

Why ?
OT: Nice map, dude
Forum: Scripting Help 27/06/2014, 11:15 PM
Replies: 4
Views: 1,233
Posted By RenovanZ
Re: Server Side Weapons

Read this (http://forum.sa-mp.com/showthread.php?t=220089)
If you're looking for include, search it, there are many releases about it.
Forum: Scripting Help 26/06/2014, 12:56 PM
Replies: 4
Views: 439
Posted By RenovanZ
Re: Line(4248) : error 032: array index out of bounds

new promotename[10]; //it's one of the sscanf parameters
if(!strcmp(promotename, "admin")) // (Line 4248) instead of "promotename == integer" if the promotename is not indexed with [10]
{
...
Forum: Scripting Help 26/06/2014, 12:11 PM
Replies: 4
Views: 439
Posted By RenovanZ
Re: Line(4248) : error 032: array index out of bounds

Use strcmp to compare strings (wiki.sa-mp.com)
Forum: Scripting Help 26/06/2014, 07:37 AM
Replies: 8
Views: 859
Posted By RenovanZ
Re: Heal all

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
{
if(IsPlayerConnected(i))...
Forum: Scripting Help 26/06/2014, 03:15 AM
Replies: 6
Views: 658
Posted By RenovanZ
Re: mysql help

mysql_fetch_row_format(Query, "|");
sscanf(Query, "p<|>s[24]s[128]iiiiis[16]",pInfo[playerid][nickname],pInfo[playerid][pass],pInfo[playerid][score],
...
Forum: Scripting Help 26/06/2014, 02:09 AM
Replies: 13
Views: 1,104
Posted By RenovanZ
Re: Scripting help

Have you check your /myhouses script, is the vw/interior have been set ?
Forum: Scripting Help 26/06/2014, 01:38 AM
Replies: 10
Views: 979
Posted By RenovanZ
Re: Cant figure out how to format playerid and player name

Can I see your t_GetPlayer function ? And what it does ?
Forum: Scripting Help 26/06/2014, 01:18 AM
Replies: 10
Views: 979
Posted By RenovanZ
Re: Cant figure out how to format playerid and player name

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]; //^^
new...
Forum: Scripting Help 26/06/2014, 01:15 AM
Replies: 13
Views: 1,104
Posted By RenovanZ
Re: Any One Help Me??

Update your sscanf2, and show your error code.
Forum: Scripting Help 25/06/2014, 05:04 PM
Replies: 2
Views: 400
Posted By RenovanZ
Re: [REQUESTING] Scripter that can help.

Post here (http://forum.sa-mp.com/showthread.php?t=447813)
Forum: Scripting Help 25/06/2014, 04:53 PM
Replies: 7
Views: 1,056
Posted By RenovanZ
Re: Respuesta: Stats TextDraw Bug

You should place the first function to OnPlayerConnect (dont forget to show it).
Also, you shouldn't place the second function to OnPlayerUpdate, just place it OnPlayerDeath, because Death and Kills...
Forum: Scripting Help 25/06/2014, 04:51 PM
Replies: 13
Views: 1,324
Posted By RenovanZ
Re: Respuesta: Re: Dialog's Cant do [+REP]

Because he combined (strcat) this string:
format(string, sizeof(string), "Skin 1: Fattie - Shootgun + Pistol\n"); strcat(string2, string);
with this:
format(string, sizeof(string), "Skin 2:...
Forum: Scripting Help 25/06/2014, 03:58 PM
Replies: 7
Views: 1,056
Posted By RenovanZ
Re: Stats TextDraw Bug

Which textdraw is disappearing ? Both of them ?
Forum: Scripting Help 25/06/2014, 03:35 PM
Replies: 7
Views: 1,056
Posted By RenovanZ
Re: Stats TextDraw Bug

May I see your code ?
Forum: Scripting Help 25/06/2014, 03:13 PM
Replies: 6
Views: 485
Posted By RenovanZ
Re: 2 problems to deal with

May I see your code which spawn the player ?
Forum: Scripting Help 25/06/2014, 03:05 PM
Replies: 6
Views: 485
Posted By RenovanZ
Re: 2 problems to deal with

1. You should check player's position first, then check if house is not locked and they're in a house.
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
...
Forum: Scripting Help 25/06/2014, 10:20 AM
Replies: 2
Views: 597
Posted By RenovanZ
Re: SELECTING ALL ROWS FROM A TABLE ? - MySQL

mysql_query("SELECT * FROM `table`");
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 02:26 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.