ITs For someone will help me. Dont go and please dont SUprim. -
Alex Deregio - 20.02.2011
What is my error ?
Re: ITs For someone will help me. Dont go and please dont SUprim. -
sansko - 20.02.2011
what is the problem?
Re: ITs For someone will help me. Dont go and please dont SUprim. -
GNGification - 20.02.2011
Hard to tell what is your problem when we dont even see it
Re : ITs For someone will help me. Dont go and please dont SUprim. -
Alex Deregio - 20.02.2011
I will show you
Re : ITs For someone will help me. Dont go and please dont SUprim. -
Alex Deregio - 20.02.2011
I want to make my gate Open and close. What is not corect in my script ?
gate = CreateObject(971, 1003.3539428711, -643.64379882813, 124.03198242188, 0, 0, 27.789794921875);
if(strcmp(cmdtext, "/Deregio", true) == 0)
{
MoveObject(gate,0,1001.8137,-639.7086,120.9831,199.0235,0,0,0,0,0,0); //
SendClientMessage(playerid, COLOR_RED, "Bienvenue chez toi Alex");
return 1;
}
if(strcmp(cmdtext, "/dclose", true) == 0)
{
MoveObject(gate,0,1004.6483,-647.7470,121.2289,21.3851,0,0,0,0,0,0); //
SendClientMessage(playerid, COLOR_RED, "Aurevoire");
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
dcmd(specplayer, 10, cmdtext);
dcmd(specoff, 7, cmdtext);
new gate;
new string[256];
new playermoney;
new sendername[MAX_PLAYER_NAME];
new giveplayer[MAX_PLAYER_NAME];
new playername[MAX_PLAYER_NAME];
new cmd[256];
new tmp[256];
new giveplayerid, moneys, idx;
new idcar = GetPlayerVehicleID(playerid);
new pveh = GetVehicleModel(GetPlayerVehicleID(playerid));
cmd = strtok(cmdtext, idx);
Re: ITs For someone will help me. Dont go and please dont SUprim. -
sansko - 20.02.2011
2 things
why "new gate;" under OnPlayerCommandText
and put the code into [pawn] blocks next time
i'll try to fix it anyway
Re: ITs For someone will help me. Dont go and please dont SUprim. -
sansko - 20.02.2011
change the object movement speed
and it is
pawn Код:
MoveObject(objectid, newx, newy, newz, speed);
wasn't your compiler giving warnings or errors?
Re : ITs For someone will help me. Dont go and please dont SUprim. -
Alex Deregio - 20.02.2011
The Two
Re : ITs For someone will help me. Dont go and please dont SUprim. -
Alex Deregio - 20.02.2011
MoveObject(deregiogate, 0,1004.6483,-647.7470,121.2289,21.3851,0,0,0,0,0,0,);
Can you change that please ?
Re : ITs For someone will help me. Dont go and please dont SUprim. -
Alex Deregio - 20.02.2011
Код:
AddPlayerClass(0,1004.6483,-647.7470,121.2289,21.3851,0,0,0,0,0,0); //