SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Kostas'
Forum: Scripting Help 17/12/2011, 04:56 PM
Replies: 3,248
Views: 698,207
Posted By Kostas'
Re: Script Request Thread #5

Your Welcome slimshady !
Forum: Scripting Help 17/12/2011, 03:09 PM
Replies: 3
Views: 886
Posted By Kostas'
Forum: Scripting Help 17/12/2011, 03:03 PM
Replies: 3
Views: 886
Posted By Kostas'
Re: How to put maps in gamemode ???

[Tutorial] Adding Custom MTA Mappings to SAMP (Click Me!) (http://forum.sa-mp.com/showthread.php?t=282140&highlight=add+objects)
Forum: Server Support 17/12/2011, 01:46 PM
Replies: 6
Views: 1,154
Posted By Kostas'
Re: Having Bit of a Problem

If you have any Anti-Virus, did it ask you samp.exe to connect to the internet?
I have recently installed my windows again and I installed GTa and SA-MP. The first and the second time instead of...
Forum: Scripting Help 17/12/2011, 01:33 PM
Replies: 9
Views: 1,387
Posted By Kostas'
Re: Need help to compile

#define RECORDING "mynpc" //This is the filename of your recording without the extension.

The filename to be loaded, without the .rec extension.
...
Forum: Scripting Help 17/12/2011, 01:07 PM
Replies: 9
Views: 1,387
Posted By Kostas'
Re: Need help to compile

Show us the code
Forum: Scripting Help 17/12/2011, 12:23 PM
Replies: 3,248
Views: 698,207
Posted By Kostas'
Re: Script Request Thread #5

CMD:vcol(playerid, params[])
{
new vehicleid, color1, color2;
if((vehicleid = GetPlayerVehicleID(playerid))) {
if(sscanf(params, "dd", color1, color2)) return...
Forum: Scripting Help 17/12/2011, 12:14 PM
Replies: 4
Views: 2,059
Posted By Kostas'
Re: How i can make command only for a player

I don't suggest ip, because there is a chance this player has no static ip.
// Your Command Here
new playername[64];
GetPlayerName(playerid, playername, 64);
if(!strcmp(playername,...
Forum: Scripting Help 17/12/2011, 09:37 AM
Replies: 5
Views: 1,127
Posted By Kostas'
Forum: General 17/12/2011, 08:52 AM
Replies: 2
Views: 801
Posted By Kostas'
Re: how to add it

Go to youre MTA Folder where you install it then go to C:\Program Files\MTA San Andreas\server\mods\deathmatch\resources


Open the .map


Copy it


Paste it on Convertffs...
Forum: Scripting Help 17/12/2011, 08:45 AM
Replies: 10
Views: 1,491
Posted By Kostas'
Re: vip levels...

Sorry for this. For people didn't understand the text.

English: Should I do another enum, with vip?


English: No. Only one.

CMD:setvip(playerid, params[])
{
new id, lvl;
Forum: Scripting Help 17/12/2011, 08:37 AM
Replies: 5
Views: 1,127
Posted By Kostas'
Re: need help with onplayerconnect...

Name isn't integer.
public OnPlayerConnect(playerid)
{
new string[128], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
format(string, sizeof(string),...
Forum: Scripting Help 16/12/2011, 07:00 PM
Replies: 10
Views: 1,491
Posted By Kostas'
Re: vip levels...

oxi, mono ena kai meta

CMD:setvip(playerid, params[])
{
new id, lvl;
// blabla...
if(lvl > 3 || lvl < 0) return SendClientMessage(playerid, -1, "The level must be between 0 and...
Forum: Scripting Help 16/12/2011, 05:24 PM
Replies: 10
Views: 1,491
Posted By Kostas'
Re: vip levels...

enum PlayerInfo
{
VIP
};
new Pinfo[MAX_PLAYERS][PlayerInfo];
Forum: Scripting Help 16/12/2011, 04:44 PM
Replies: 33
Views: 8,649
Posted By Kostas'
Re: remove player from vehicle

And where it checks the vehicle id, if it's the 406?


public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 406) {
...
Forum: Scripting Help 16/12/2011, 04:30 PM
Replies: 33
Views: 8,649
Posted By Kostas'
Re: remove player from vehicle

I stuck now. I cannot think something else. Last chance, try this. I hope..

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new vehicle;
vehicle =...
Forum: Scripting Help 16/12/2011, 04:13 PM
Replies: 33
Views: 8,649
Posted By Kostas'
Re: remove player from vehicle

Sorry, I did a mistake. Change it to

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(GetVehicleModel(vehicleid) == 406) {
if(P_DATA[playerid][Vip] < 1) return...
Forum: Scripting Help 16/12/2011, 03:39 PM
Replies: 33
Views: 8,649
Posted By Kostas'
Re: remove player from vehicle

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new vehicle;
vehicle = GetPlayerVehicleID(playerid);
if(vehicle == 435) {
if(P_DATA[playerid][Vip] <1) return...
Forum: Scripting Help 16/12/2011, 03:24 PM
Replies: 33
Views: 8,649
Posted By Kostas'
Re: remove player from vehicle

OnPlayerEnterVehicle callback check if vips < 1 and
RemovePlayerFromVehicle(playerid);
. This is for entering a vehicle. If you are using vehicle spawner on your code check again if it's less than...
Forum: Scripting Help 16/12/2011, 03:11 PM
Replies: 19
Views: 2,651
Posted By Kostas'
Re: /setskin help!! Errors [rep+]

With ZCMD and Sscanf:

#include <a_samp>
#include <zcmd>
#include <sscanf2>

CMD:setskin(playerid, params[])
{
new id, skin, string[128], giveplayer[MAX_PLAYER_NAME];
...
Forum: Scripting Help 16/12/2011, 02:57 PM
Replies: 6
Views: 1,206
Posted By Kostas'
Re: Need help?

Can you show us the code, if you don't mind. Else if we cannot help you.
Forum: General 16/12/2011, 02:44 PM
Replies: 24
Views: 7,066
Posted By Kostas'
Re: How many people can fit in a Bus/Coach?

Well, I really don't remember which of these two vehicles can get +100 passenger. But it's true. Months ago on a server I played, we had an event and more than 100 people enter on it. However, people...
Forum: General 16/12/2011, 12:34 PM
Replies: 24
Views: 7,066
Posted By Kostas'
Re: How many people can fit in a Bus/Coach?

The sure it's that more than 100 players can enter. I remember it at an event some months ago.
Forum: Scripting Help 16/12/2011, 12:29 PM
Replies: 8
Views: 1,624
Posted By Kostas'
Re: need a small cmd

Your Welcome!
Forum: Scripting Help 16/12/2011, 12:26 PM
Replies: 14
Views: 1,992
Posted By Kostas'
Re: I need script (Rep +)

That was the problem, because you have the variables already into the include and at your script too. I suggest you what Rob_Maate said. Change the names of the variables on your script to different...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 09:03 PM.


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