Jump to content

Rezervace postavy


FreeWall

Recommended Posts

public OnPlayerRequestSpawn(playerid)
{
if(strcmp(PlayerName(playerid), "Jmeno", true)!= 0) {
if(skin[playerid]==3){
SendClientMessageToAll(0x808080AA ,"[ ! ] Tento skin je rezervován pro hráče : Jméno");
}}
return 1;}

skus to takhle

Link to comment
Share on other sites

  • 4 weeks later...
Neví někdo jak to udělat když tam chci víc těch jmen? :( když dám || mezi jména, tak potom nejde žádný

Zkus

 if(strcmp(PlayerName(playerid), "Jmeno", true)!= 0 || strcmp(PlayerName(playerid), "Jmeno2", true)!= 0 )

Link to comment
Share on other sites

  • 1 year later...

Sry že zase píšu do starýho topicu, ale i když mám jiný nick a dám rezervovanou postavu, spawnu se normálně, jako bez rezervace, pls co s tím, errory ani warningy nemám žádné

Link to comment
Share on other sites

Sry že zase píšu do starýho topicu, ale i když mám jiný nick a dám rezervovanou postavu, spawnu se normálně, jako bez rezervace, pls co s tím, errory ani warningy nemám žádné

 

ukaž celej tvuj public OnPlayerRequestSpawn

Link to comment
Share on other sites

public OnPlayerRequestSpawn(playerid)
{
if(strcmp(PlayerName(playerid), "NerdAngel", true)!= 0) {
if(Nerdskin[playerid]==74){
SendClientMessage(playerid, COLOR_RED,"[ ! ] Tento skin je rezervován pro hráče : NerdAngel");
return 0;}
return 1;}

if(strcmp(PlayerName(playerid), "[NbK]MiKee", true)!= 0) {
if(Whispskin[playerid]==75){
SendClientMessage(playerid, COLOR_RED,"[ ! ] Tento skin je rezervován pro hráče : [NbK]MiKee");
return 0;}
return 1;}
return 1;
}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...