How to insert?
#6

thx helped but now ui have other problem when i type it i says player not exist : tokio zaidejo nera.

Code:
CMD:kviest(playerid, params[])
{
    new name[MAX_PLAYER_NAME];
	new id = GetPlayeridMid(name);
	if(id==INVALID_PLAYER_ID) return SendClientMessage(playerid,GREEN,"==|Klaida: Zaidejo nera!");
	kviestas[id][GetPlayerVirtualWorld(playerid)]=true;
	new kvietimas[24];
	GetPlayerName(playerid,name,MAX_PLAYER_NAME);
	format(kvietimas,sizeof(kvietimas),"==|%s pakviete i savo namus!",name);
	SendClientMessage(id,GREEN,kvietimas);
	GetPlayerName(id,name,MAX_PLAYER_NAME);
	format(kvietimas,sizeof(kvietimas),"==|Jei nori atsaukti kvietima :/nekviest %s",name,name);
	SendClientMessage(playerid,GREEN,kvietimas);
	return 1;
}
Reply


Messages In This Thread
How to insert? - by Dziugsas - 17.05.2012, 11:32
Re: How to insert? - by Dziugsas - 17.05.2012, 11:44
Re: How to insert? - by ViniBorn - 17.05.2012, 14:22
Re: How to insert? - by Dziugsas - 18.05.2012, 10:39
Re: How to insert? - by milanosie - 18.05.2012, 10:47
Re: How to insert? - by Dziugsas - 18.05.2012, 10:56
Re: How to insert? - by milanosie - 18.05.2012, 11:00
Re: How to insert? - by Dziugsas - 18.05.2012, 11:17
Re: How to insert? - by milanosie - 18.05.2012, 11:20
Re: How to insert? - by Dziugsas - 18.05.2012, 11:21

Forum Jump:


Users browsing this thread: 2 Guest(s)